r16398 by jghali - #9564: Action History holds action steps above maximum length
scribus-commit
scribus-commit at lists.scribus.net
Wed Feb 23 00:43:49 CET 2011
Author: jghali
Date: Tue Feb 22 23:43:49 2011
New Revision: 16398
URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16398
Log:
#9564: Action History holds action steps above maximum length
Modified:
branches/Version135/Scribus/scribus/undomanager.cpp
Modified: branches/Version135/Scribus/scribus/undomanager.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16398&path=/branches/Version135/Scribus/scribus/undomanager.cpp
==============================================================================
--- branches/Version135/Scribus/scribus/undomanager.cpp (original)
+++ branches/Version135/Scribus/scribus/undomanager.cpp Tue Feb 22 23:43:49 2011
@@ -507,7 +507,8 @@
{
// qDebug() << "UndoManager: Action executed:" << target->getUName() << state->getName();
state->setUndoObject(target);
- stacks_[currentDoc_].action(state);
+ if (stacks_[currentDoc_].action(state))
+ emit popBack();
}
if (targetPixmap)
target->setUPixmap(oldIcon);
More information about the scribus-commit
mailing list