r19387 by jghali - #12546: Undo button might be disabled closing Nodes window

scribus-commit scribus-commit at lists.scribus.net
Wed Jul 30 21:23:13 UTC 2014


Author: jghali
Date: Wed Jul 30 21:23:13 2014
New Revision: 19387

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19387
Log:
#12546: Undo button might be disabled closing Nodes window

Modified:
    branches/Version14x/Scribus/scribus/scribus.cpp

Modified: branches/Version14x/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19387&path=/branches/Version14x/Scribus/scribus/scribus.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/scribus.cpp (original)
+++ branches/Version14x/Scribus/scribus/scribus.cpp Wed Jul 30 21:23:13 2014
@@ -6414,6 +6414,8 @@
 	nodePalette->setDoc(0,0);
 	nodePalette->hide();
 //	qDebug() << "nodepalette hide";
+	scrActions["editUndoAction"]->setEnabled(UndoManager::instance()->hasUndoActions());
+	scrActions["editRedoAction"]->setEnabled(UndoManager::instance()->hasRedoActions());
 	scrActions["insertFrame"]->setEnabled(true);
 	scrActions["toolsSelect"]->setEnabled(true);
 	scrActions["toolsSelect"]->setChecked(true);




More information about the scribus-commit mailing list