2006-05-06 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (load): Use common undodb methods; reset undo history. * src/GrampsDb/_GrampsInMemDB.py (load): Use common undodb methods; reset undo history. * src/GrampsDb/_GrampsXMLDB.py: Minor fix. * src/GrampsDb/_GrampsGEDDB.py: Minor fix. * src/GrampsDb/_GrampsDbBase.py: Undo history support. * src/UndoHistory.py: Fixes and additions. * src/ViewManager.py (post_load): Re-set undo/redo labels. svn: r6569
This commit is contained in:
@ -938,6 +938,8 @@ class ViewManager:
|
||||
self.change_page(None, None)
|
||||
self.state.db.undo_callback = self.change_undo_label
|
||||
self.state.db.redo_callback = self.change_redo_label
|
||||
self.change_undo_label(None)
|
||||
self.change_redo_label(None)
|
||||
self.state.db.undo_history_callback = self.undo_history_update
|
||||
self.actiongroup.set_visible(True)
|
||||
self.window.window.set_cursor(None)
|
||||
|
Reference in New Issue
Block a user