Fix interactive search for exception on click then down arrow

Fixes #10226
This commit is contained in:
prculley 2017-10-13 13:56:55 -05:00 committed by Nick Hall
parent da1c942509
commit 85f42908f4

View File

@ -399,7 +399,7 @@ class InteractiveSearchBox():
self._search_window.hide() self._search_window.hide()
self._search_entry.set_text("") self._search_entry.set_text("")
self._treeview.emit('focus-in-event', event) self._treeview.emit('focus-in-event', event)
self.__selected_search_result = None self.__selected_search_result = 0
def _position_func(self, userdata=None): def _position_func(self, userdata=None):
tree_window = self._treeview.get_window() tree_window = self._treeview.get_window()