[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/kexi/formeditor (silent)
From:       Jarosław Staniek <staniek () kde ! org>
Date:       2009-10-26 0:30:43
Message-ID: 1256517043.177524.23639.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1040294 by staniek:

Forms
* no need to check size of undo stack since we can compress commands

SVN_SILENT


 M  +2 -2      form.cpp  


--- trunk/koffice/kexi/formeditor/form.cpp #1040293:1040294
@@ -1307,9 +1307,9 @@
     }
     const int count = d->undoStack.count();
     d->undoStack.push(command);
-    if ((count + 1) == d->undoStack.count()) {
+/*    if ((count + 1) == d->undoStack.count()) {
         return false;
-    }
+    }*/
     kDebug() << "ADDED:" << command;
 /*    if (option == DontExecuteCommand) { // simulate command to activate 'undo' menu
         slotCommandExecuted(command);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic