Fix parent place selection for new places

This commit is contained in:
Nick Hall 2014-03-05 13:57:34 +00:00
parent ad4737edd5
commit cdff0daff1

View File

@ -82,7 +82,10 @@ class EditPlaceRef(EditSecondary):
return skip
def select_parent(self, button):
skip = self.get_skip_list(self.handle)
if self.handle:
skip = self.get_skip_list(self.handle)
else:
skip = []
sel = SelectPlace(self.dbstate, self.uistate, self.track, skip=skip)
parent = sel.run()
if parent: