r20415 by jghali -
scribus-commit
scribus-commit at lists.scribus.net
Wed Sep 23 18:37:43 UTC 2015
Author: jghali
Date: Wed Sep 23 18:37:43 2015
New Revision: 20415
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20415
Log:
#13365: Rename action is wrongly recorded in Action History <FirasH>
Modified:
branches/Version14x/Scribus/scribus/pageitem.cpp
Modified: branches/Version14x/Scribus/scribus/pageitem.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20415&path=/branches/Version14x/Scribus/scribus/pageitem.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/pageitem.cpp (original)
+++ branches/Version14x/Scribus/scribus/pageitem.cpp Wed Sep 23 18:37:43 2015
@@ -2302,7 +2302,7 @@
AutoName = false;
if (UndoManager::undoEnabled())
{
- SimpleState *ss = new SimpleState(Um::Rename, QString(Um::FromTo).arg(AnName).arg(newName));
+ SimpleState *ss = new SimpleState(Um::Rename, QString(Um::FromTo).arg(oldName).arg(newName));
ss->set("OLD_NAME", oldName);
ss->set("NEW_NAME", newName);
undoManager->action(this, ss);
More information about the scribus-commit
mailing list