trackplacer: fix a small but fatal bug.
This commit is contained in:
parent
f570d205e2
commit
b1e396b502
1 changed files with 2 additions and 1 deletions
|
@ -189,7 +189,8 @@ class JourneyTracks:
|
|||
raise IOException("Reading with tracks nonempty.", fp.name)
|
||||
if fp.name.endswith(".png") or fp.name.endswith(".jpg"):
|
||||
self.mapfile = self.properties['map'] = fp.name
|
||||
self.add_track("JOURNEY")
|
||||
self.selected_id = "JOURNEY"
|
||||
self.add_track(self.selected_id)
|
||||
self.modified = 0
|
||||
return
|
||||
if not fp.name.endswith(".cfg"):
|
||||
|
|
Loading…
Add table
Reference in a new issue