We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96f2b6b commit f28f12eCopy full SHA for f28f12e
gramps/gui/filters/_searchbar.py
@@ -136,7 +136,7 @@ def search_changed(self, obj):
136
self.find_button.set_sensitive(True)
137
# only make the search_text and clear_button widgets sensitive for searches
138
node = self.search_list.get_active_iter()
139
- type = self.search_model.get_value(node, 3)
+ type = self.search_model.get_value(node, 3) if node else False
140
self.clear_button.set_sensitive(not type)
141
self.search_text.set_sensitive(not type)
142
0 commit comments