Hide alternate locations list when empty

This commit is contained in:
Nick Hall 2014-03-03 22:38:05 +00:00
parent 50c3e0f214
commit c269ba5df4

View File

@ -179,6 +179,7 @@ class EditPlace(EditPrimary):
self._add_tab(notebook, self.placeref_list)
self.track_ref_for_deletion("placeref_list")
if len(self.obj.alt_loc) > 0:
self.loc_list = LocationEmbedList(self.dbstate,
self.uistate,
self.track,