* src/gramps_main.py (undo): Block signals during undo to make it MUCH faster when undoing larger imports or plugin runs
svn: r4494
This commit is contained in:
parent
4c497b7f63
commit
48be6c8a75
@ -1,3 +1,7 @@
|
||||
2005-05-06 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
||||
* src/gramps_main.py (undo): Block signals during undo to make
|
||||
it MUCH faster when undoing larger imports or plugin runs
|
||||
|
||||
2005-05-05 Alex Roitman <shura@gramps-project.org>
|
||||
* doc/gramps.1.in, doc/gramps-manual/C/bugs.xml,
|
||||
doc/gramps-manual/C/cmdline.xml, doc/gramps-manual/C/faq.xml,
|
||||
|
@ -521,7 +521,10 @@ class Gramps(GrampsDBCallback.GrampsDBCallback):
|
||||
if self.undo_active:
|
||||
return
|
||||
self.undo_active = True
|
||||
self.db.disable_signals()
|
||||
self.db.undo()
|
||||
self.db.enable_signals()
|
||||
self.db.request_rebuild()
|
||||
if self.active_person:
|
||||
p = self.db.get_person_from_handle(self.active_person.get_handle())
|
||||
self.change_active_person(p)
|
||||
|
Loading…
Reference in New Issue
Block a user