* src/GrampsBSDDB.py: remove transaction.batch in favor of signal suppression
* src/GrampsDbBase.py: remove transaction.batch in favor of signal suppression * src/GrampsInMemDB.py: remove transaction.batch in favor of signal suppression * src/ReadGedcom.py: fix relation typo, enable/disable signals around import * src/ReadXML.py: enable/disable signals around import * src/gramps_main.py: disable signals before undo and exit svn: r4295
This commit is contained in:
@ -505,6 +505,7 @@ class Gramps(GrampsDBCallback.GrampsDBCallback):
|
||||
self.emit('database-changed',(self.db,))
|
||||
|
||||
def exit_and_undo(self,*args):
|
||||
self.db.disable_signals()
|
||||
self.db.abort_changes()
|
||||
self.db.set_people_view_maps((None,None,None,None))
|
||||
gtk.main_quit()
|
||||
|
Reference in New Issue
Block a user