diff base/CommandHistory.cpp @ 41:2b6412c1e724

* Further MainWindow -> Document refactoring
author Chris Cannam
date Wed, 08 Mar 2006 12:38:28 +0000
parents 2fb933f88604
children 701404725897
line wrap: on
line diff
--- a/base/CommandHistory.cpp	Mon Mar 06 17:20:25 2006 +0000
+++ b/base/CommandHistory.cpp	Wed Mar 08 12:38:28 2006 +0000
@@ -174,6 +174,8 @@
     // no need to clip
 
     updateActions();
+
+    if ((int)m_undoStack.size() == m_savedAt) emit documentRestored();
 }
 
 void