From ba6254ca3f67f9922c403dc4d3e0be2ea58dbbcb Mon Sep 17 00:00:00 2001 From: Paul Culley Date: Wed, 21 Aug 2019 12:05:59 -0500 Subject: [PATCH] Fix exception when merging with active sidebar filter (#870) Fixes #11262 --- gramps/gui/views/treemodels/flatbasemodel.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gramps/gui/views/treemodels/flatbasemodel.py b/gramps/gui/views/treemodels/flatbasemodel.py index 857e24602..7d3bfcaae 100644 --- a/gramps/gui/views/treemodels/flatbasemodel.py +++ b/gramps/gui/views/treemodels/flatbasemodel.py @@ -415,6 +415,7 @@ class FlatNodeMap: for indx in range(len(self._fullhndl)): if self._fullhndl[indx][1] == handle: del self._fullhndl[indx] + break #now remove it from the index maps try: index = self._hndl2index[handle]