r22878 by jghali - #15585: Enable toolsEditContents action also when image is set to scale to frame
scribus-commit
scribus-commit at lists.scribus.net
Sun Mar 10 11:21:31 UTC 2019
Author: jghali
Date: Sun Mar 10 11:21:31 2019
New Revision: 22878
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22878
Log:
#15585: Enable toolsEditContents action also when image is set to scale to frame
Modified:
trunk/Scribus/scribus/appmodehelper.cpp
Modified: trunk/Scribus/scribus/appmodehelper.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22878&path=/trunk/Scribus/scribus/appmodehelper.cpp
==============================================================================
--- trunk/Scribus/scribus/appmodehelper.cpp (original)
+++ trunk/Scribus/scribus/appmodehelper.cpp Sun Mar 10 11:21:31 2019
@@ -570,7 +570,7 @@
(*a_scrActions)["toolsUnlinkTextFrame"]->setEnabled(false);
(*a_scrActions)["toolsUnlinkTextFrameAndCutText"]->setEnabled(false);
(*a_scrActions)["toolsLinkTextFrame"]->setEnabled(false);
- (*a_scrActions)["toolsEditContents"]->setEnabled(currItem->ScaleType);
+ (*a_scrActions)["toolsEditContents"]->setEnabled(true);
(*a_scrActions)["toolsEditWithStoryEditor"]->setEnabled(false);
(*a_scrActions)["toolsRotate"]->setEnabled(!inAnEditMode);
(*a_scrActions)["toolsCopyProperties"]->setEnabled(!inAnEditMode);
More information about the scribus-commit
mailing list