# HG changeset patch # User Thinker K.F. Li # Date 1296884767 -28800 # Node ID 05ced4a389bfe9de32804f7cd4c34fa2fb384092 # Parent 0b5ee9c90af7a4444a958847f1b946cf2fe1e7af Fix issue of mixing actions for initialiaztion with user actions - When user undo last actions, it also remove actions for initialization of a new document. diff -r 0b5ee9c90af7 -r 05ced4a389bf pyink/MBScene.py --- a/pyink/MBScene.py Tue Feb 01 23:20:26 2011 +0800 +++ b/pyink/MBScene.py Sat Feb 05 13:46:07 2011 +0800 @@ -401,6 +401,8 @@ self.top.show_all() self.last_update = None + + self.markUndo("Initialize") return False ## \brief To handle context menu event.