9006 9111 9274: fix scrolling in persons view after typing some letter

TypeError: unsupported operand type(s) for +=: 'NoneType' and 'int'

Thank you schnitker for report, investigations and patch
This commit is contained in:
romjerome 2016-03-07 14:50:55 +01:00
parent 2bbe278f41
commit 3aa2b6688e

View File

@ -60,7 +60,7 @@ class InteractiveSearchBox():
self.__disable_popdown = False self.__disable_popdown = False
self._entry_flush_timeout = None self._entry_flush_timeout = None
self._entry_launchsearch_timeout = None self._entry_launchsearch_timeout = None
self.__selected_search_result = None self.__selected_search_result = 0
# Disable builtin interactive search by intercepting CTRL-F instead. # Disable builtin interactive search by intercepting CTRL-F instead.
# self._treeview.connect('start-interactive-search', # self._treeview.connect('start-interactive-search',
# self.start_interactive_search) # self.start_interactive_search)