r18756 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 21:51:12 UTC 2014
Author: craig
Date: Sun Jan 19 21:51:11 2014
New Revision: 18756
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18756
Log:
#11998: Do not have Edit with image editor/Edit render source open when no doc is open
Modified:
trunk/Scribus/scribus/actionmanager.cpp
trunk/Scribus/scribus/scribus.cpp
Modified: trunk/Scribus/scribus/actionmanager.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18756&path=/trunk/Scribus/scribus/actionmanager.cpp
==============================================================================
--- trunk/Scribus/scribus/actionmanager.cpp (original)
+++ trunk/Scribus/scribus/actionmanager.cpp Sun Jan 19 21:51:11 2014
@@ -2510,6 +2510,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);
(*scrActions)["extrasDeHyphenateText"]->setEnabled(false);
Modified: trunk/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18756&path=/trunk/Scribus/scribus/scribus.cpp
==============================================================================
--- trunk/Scribus/scribus/scribus.cpp (original)
+++ trunk/Scribus/scribus/scribus.cpp Sun Jan 19 21:51:11 2014
@@ -805,8 +805,7 @@
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"));
More information about the scribus-commit
mailing list