Merge pull request #351 from prculley/bug9934

bug 9934; fix error when 'Manage Family Tree' is closed via ESC key
This commit is contained in:
Sam Manzi 2017-02-12 15:13:13 +11:00 committed by GitHub
commit 67b967ce3c

View File

@ -484,7 +484,8 @@ class DbManager(CLIDbManager, ManagedWindow):
else: else:
del self.selection del self.selection
del self.name_renderer del self.name_renderer
self.close() if value != Gtk.ResponseType.DELETE_EVENT:
self.close()
return None return None
def __ask_to_break_lock(self, store, node): def __ask_to_break_lock(self, store, node):