From 999a3937d11b74283dd445666eedfcbe62803a9a Mon Sep 17 00:00:00 2001 From: Paul Culley Date: Wed, 28 Nov 2018 01:05:14 -0600 Subject: [PATCH] Fix exception when closing early editor in tree of editors (#706) Fixes #10876 --- gramps/gui/managedwindow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gui/managedwindow.py b/gramps/gui/managedwindow.py index a6b41a1af..ec4441539 100644 --- a/gramps/gui/managedwindow.py +++ b/gramps/gui/managedwindow.py @@ -576,8 +576,8 @@ class ManagedWindow: self.opened = False self._save_position(save_config=False) # the next line will save it self._save_size() - self.clean_up() self.uistate.gwm.close_track(self.track) + self.clean_up() # put a previously modal window back to modal, now that we are closing if self.other_modal_window: self.other_modal_window.set_modal(True)