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]