r20084 by craig - #13064: Fix action enabling in edit mode

scribus-commit scribus-commit at lists.scribus.net
Fri May 15 16:36:41 UTC 2015


Author: craig
Date: Fri May 15 16:36:41 2015
New Revision: 20084

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20084
Log:
#13064: Fix action enabling in edit mode

Modified:
    trunk/Scribus/scribus/scribus.cpp

Modified: trunk/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20084&path=/trunk/Scribus/scribus/scribus.cpp
==============================================================================
--- trunk/Scribus/scribus/scribus.cpp (original)
+++ trunk/Scribus/scribus/scribus.cpp Fri May 15 16:36:41 2015
@@ -2693,8 +2693,8 @@
 	charPalette->setEnabled(false, 0);
 	view->horizRuler->textMode(false);
 	view->horizRuler->update();
-
-	appModeHelper->enableActionsForSelection(this, doc);
+	if (!doc->inAnEditMode())
+		appModeHelper->enableActionsForSelection(this, doc);
 
 	switch (SelectedType)
 	{




More information about the scribus-commit mailing list