Fix parent place selection for new places
This commit is contained in:
parent
ad4737edd5
commit
cdff0daff1
@ -82,7 +82,10 @@ class EditPlaceRef(EditSecondary):
|
|||||||
return skip
|
return skip
|
||||||
|
|
||||||
def select_parent(self, button):
|
def select_parent(self, button):
|
||||||
|
if self.handle:
|
||||||
skip = self.get_skip_list(self.handle)
|
skip = self.get_skip_list(self.handle)
|
||||||
|
else:
|
||||||
|
skip = []
|
||||||
sel = SelectPlace(self.dbstate, self.uistate, self.track, skip=skip)
|
sel = SelectPlace(self.dbstate, self.uistate, self.track, skip=skip)
|
||||||
parent = sel.run()
|
parent = sel.run()
|
||||||
if parent:
|
if parent:
|
||||||
|
Loading…
Reference in New Issue
Block a user