r18751 by craig - #11998: Do not have Edit with image editor/Edit render source open when no doc is open
scribus-commit
scribus-commit at lists.scribus.net
Sun Jan 19 19:42:52 UTC 2014
Author: craig
Date: Sun Jan 19 19:42:52 2014
New Revision: 18751
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18751
Log:
#11998: Do not have Edit with image editor/Edit render source open when no doc is open
Modified:
trunk/Scribus/scribus/scribus.cpp
Modified: trunk/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18751&path=/trunk/Scribus/scribus/scribus.cpp
==============================================================================
--- trunk/Scribus/scribus/scribus.cpp (original)
+++ trunk/Scribus/scribus/scribus.cpp Sun Jan 19 19:42:52 2014
@@ -805,6 +805,8 @@
scrMenuMgr->addMenuItemString("editJavascripts", "Edit");
scrMenuMgr->setMenuEnabled("EditPasteRecent", false);
scrMenuMgr->setMenuEnabled("EditContents", false);
+ scrMenuMgr->setMenuEnabled("editEditWithImageEditor", false);
+ scrMenuMgr->setMenuEnabled("editEditRenderSource", false);
//Item Menu
scrMenuMgr->createMenu("Item", ActionManager::defaultMenuNameEntryTranslated("Item"));
@@ -4923,7 +4925,8 @@
scrActions["editSearchReplace"]->setEnabled(false);
scrActions["editMasterPages"]->setEnabled(false);
scrActions["editJavascripts"]->setEnabled(false);
-
+ scrActions["editEditWithImageEditor"]->setEnabled(false);
+ scrActions["editEditRenderSource"]->setEnabled(false);
//scrActions["toolsPreflightVerifier"]->setEnabled(false);
scrActions["extrasHyphenateText"]->setEnabled(false);
More information about the scribus-commit
mailing list