From 6c1ba0f23fb48995734eedfca2e13c644b88ed84 Mon Sep 17 00:00:00 2001 From: romjerome Date: Mon, 7 Mar 2016 15:06:53 +0100 Subject: [PATCH] 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 --- gramps/gui/widgets/interactivesearchbox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gui/widgets/interactivesearchbox.py b/gramps/gui/widgets/interactivesearchbox.py index 3ae9af440..6c979b485 100644 --- a/gramps/gui/widgets/interactivesearchbox.py +++ b/gramps/gui/widgets/interactivesearchbox.py @@ -60,7 +60,7 @@ class InteractiveSearchBox(): self.__disable_popdown = False self._entry_flush_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. # self._treeview.connect('start-interactive-search', # self.start_interactive_search)