2008-01-09 Gary Burton <gary.burton@zen.co.uk>

* src/ManagedWindow.py: Close window only if it is already open. Possible
	fix for bug #1510



svn: r9772
This commit is contained in:
Gary Burton 2008-01-09 21:47:37 +00:00
parent c5ad2323dc
commit 45bdb5a121
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2008-01-09 Gary Burton <gary.burton@zen.co.uk>
* src/ManagedWindow.py: Close window only if it is already open. Possible
fix for bug #1510
2008-01-08 Benny Malengier <benny.malengier@gramps-project.org>
Peter Landgren <peter.talken2telia.com>
* src/DbManager.py: rename check, issue 1562, 1569

View File

@ -454,6 +454,7 @@ class ManagedWindow:
Takes care of closing children and removing itself from menu.
"""
if self.opened:
self.uistate.gwm.close_track(self.track)
self.opened = False
self.parent_window.present()