r20018 by craig - #13030: Apply quick fix to disable export to pixmap for 1.5.0

scribus-commit scribus-commit at lists.scribus.net
Tue Apr 21 17:51:04 UTC 2015


Author: craig
Date: Tue Apr 21 17:51:04 2015
New Revision: 20018

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20018
Log:
#13030: Apply quick fix to disable export to pixmap for 1.5.0

Modified:
    trunk/Scribus/scribus/appmodehelper.cpp

Modified: trunk/Scribus/scribus/appmodehelper.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20018&path=/trunk/Scribus/scribus/appmodehelper.cpp
==============================================================================
--- trunk/Scribus/scribus/appmodehelper.cpp (original)
+++ trunk/Scribus/scribus/appmodehelper.cpp Tue Apr 21 17:51:04 2015
@@ -1268,6 +1268,9 @@
 	(*a_scrActions)["toolsPDFAnnot3D"]->setEnabled(b2);
 #endif
 	//(*a_scrActions)["viewPreviewMode"]->setEnabled(b2);
+	//TODO: Move to masterpage edit mode enable option for plugin actions
+	if (a_scrActions->contains("ExportAsImage"))
+		(*a_scrActions)["ExportAsImage"]->setEnabled(b2);
 }
 
 void AppModeHelper::updateTableMenuActions(ScribusDoc* doc)




More information about the scribus-commit mailing list