r23929 by jghali - #16170: Disable insert marks when no document is open
scribus-commit
scribus-commit at lists.scribus.net
Mon Jul 20 03:59:27 UTC 2020
Author: jghali
Date: Mon Jul 20 03:59:27 2020
New Revision: 23929
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23929
Log:
#16170: Disable insert marks when no document is open
Modified:
trunk/Scribus/scribus/appmodehelper.cpp
Modified: trunk/Scribus/scribus/appmodehelper.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23929&path=/trunk/Scribus/scribus/appmodehelper.cpp
==============================================================================
--- trunk/Scribus/scribus/appmodehelper.cpp (original)
+++ trunk/Scribus/scribus/appmodehelper.cpp Mon Jul 20 03:59:27 2020
@@ -1798,6 +1798,12 @@
(*a_scrActions)["editJavascripts"]->setEnabled(false);
(*a_scrActions)["editEditWithImageEditor"]->setEnabled(false);
(*a_scrActions)["editEditRenderSource"]->setEnabled(false);
+ (*a_scrActions)["editMark"]->setEnabled(false);
+ (*a_scrActions)["insertMarkVariableText"]->setEnabled(false);
+ (*a_scrActions)["insertMarkAnchor"]->setEnabled(false);
+ (*a_scrActions)["insertMarkItem"]->setEnabled(false);
+ (*a_scrActions)["insertMark2Mark"]->setEnabled(false);
+ (*a_scrActions)["insertMarkNote"]->setEnabled(false);
(*a_scrActions)["toolsPreflightVerifier"]->setEnabled(false);
(*a_scrActions)["extrasHyphenateText"]->setEnabled(false);
(*a_scrActions)["extrasDeHyphenateText"]->setEnabled(false);
@@ -1826,9 +1832,14 @@
// scrMenuMgr->setMenuEnabled("itemSendToScrapbook", false);
(*a_scrActions)["itemSendToPattern"]->setEnabled(false);
(*a_scrActions)["itemSendToInline"]->setEnabled(false);
+ (*a_scrActions)["itemAdjustFrameHeightToText"]->setEnabled(false);
(*a_scrActions)["itemAdjustFrameToImage"]->setEnabled(false);
(*a_scrActions)["itemAdjustImageToFrame"]->setEnabled(false);
+ (*a_scrActions)["styleImageEffects"]->setEnabled(false);
(*a_scrActions)["itemExtendedImageProperties"]->setEnabled(false);
+ (*a_scrActions)["itemGroup"]->setEnabled(false);
+ (*a_scrActions)["itemUngroup"]->setEnabled(false);
+ (*a_scrActions)["itemGroupAdjust"]->setEnabled(false);
(*a_scrActions)["itemUpdateImage"]->setEnabled(false);
(*a_scrActions)["itemPreviewFull"]->setEnabled(false);
(*a_scrActions)["itemPreviewNormal"]->setEnabled(false);
@@ -1842,6 +1853,13 @@
(*a_scrActions)["itemConvertToPolygon"]->setEnabled(false);
(*a_scrActions)["itemConvertToTextFrame"]->setEnabled(false);
(*a_scrActions)["itemConvertToSymbolFrame"]->setEnabled(false);
+ (*a_scrActions)["itemAttachTextToPath"]->setEnabled(false);
+ (*a_scrActions)["itemDetachTextFromPath"]->setEnabled(false);
+ (*a_scrActions)["itemCombinePolygons"]->setEnabled(false);
+ (*a_scrActions)["itemSplitPolygons"]->setEnabled(false);
+ (*a_scrActions)["itemsUnWeld"]->setEnabled(false);
+ (*a_scrActions)["itemWeld"]->setEnabled(false);
+ (*a_scrActions)["itemEditWeld"]->setEnabled(false);
(*a_scrActions)["toolsSelect"]->setEnabled(false);
(*a_scrActions)["toolsRotate"]->setEnabled(false);
(*a_scrActions)["toolsEditContents"]->setEnabled(false);
More information about the scribus-commit
mailing list