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:
parent
c5ad2323dc
commit
45bdb5a121
@ -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
|
||||
|
@ -454,9 +454,10 @@ class ManagedWindow:
|
||||
|
||||
Takes care of closing children and removing itself from menu.
|
||||
"""
|
||||
self.uistate.gwm.close_track(self.track)
|
||||
self.opened = False
|
||||
self.parent_window.present()
|
||||
if self.opened:
|
||||
self.uistate.gwm.close_track(self.track)
|
||||
self.opened = False
|
||||
self.parent_window.present()
|
||||
|
||||
def present(self):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user