diff --git a/src/PluginUtils/_GuiOptions.py b/src/PluginUtils/_GuiOptions.py index ab08df0cf..826f2b8db 100644 --- a/src/PluginUtils/_GuiOptions.py +++ b/src/PluginUtils/_GuiOptions.py @@ -592,7 +592,7 @@ class GuiFamilyOption(gtk.HBox): sel = select_class(self.__dbstate, self.__uistate, self.__track, filter=rfilter ) family = sel.run() - self.__update_family(family) + self.__update_family(family.get_handle()) def __update_family(self, handle): """ diff --git a/src/gui/selectors/baseselector.py b/src/gui/selectors/baseselector.py index bdc7932c2..6873755c8 100644 --- a/src/gui/selectors/baseselector.py +++ b/src/gui/selectors/baseselector.py @@ -110,8 +110,9 @@ class BaseSelector(ManagedWindow.ManagedWindow): self.show() #show or hide search bar? self.set_show_search_bar(show_search_bar) - #Hide showall always (used in person selector only) + #Hide showall if no filter is specified if self.filter[1] is not None: + self.showall.connect('toggled', self.show_toggle) self.showall.show() else: self.showall.hide() diff --git a/src/gui/selectors/selectperson.py b/src/gui/selectors/selectperson.py index 615b5a719..cd797e36c 100644 --- a/src/gui/selectors/selectperson.py +++ b/src/gui/selectors/selectperson.py @@ -62,7 +62,6 @@ class SelectPerson(BaseSelector): self.width_key = 'interface.person-sel-width' self.height_key = 'interface.person-sel-height' self.tree.connect('key-press-event', self._key_press) - self.showall.connect('toggled',self.show_toggle) def get_window_title(self): return _("Select Person")