r23297 by jghali - #15881: After deleting text frame, the truncate and clear actions are still active

scribus-commit scribus-commit at lists.scribus.net
Tue Oct 29 09:20:42 UTC 2019


Author: jghali
Date: Tue Oct 29 09:20:42 2019
New Revision: 23297

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23297
Log:
#15881: After deleting text frame, the truncate and clear actions are still active

Modified:
    trunk/Scribus/scribus/appmodehelper.cpp

Modified: trunk/Scribus/scribus/appmodehelper.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23297&path=/trunk/Scribus/scribus/appmodehelper.cpp
==============================================================================
--- trunk/Scribus/scribus/appmodehelper.cpp	(original)
+++ trunk/Scribus/scribus/appmodehelper.cpp	Tue Oct 29 09:20:42 2019
@@ -511,6 +511,8 @@
 			(*a_scrActions)["editCut"]->setEnabled(false);
 			(*a_scrActions)["editCopy"]->setEnabled(false);
 			(*a_scrActions)["editCopyContents"]->setEnabled(false);
+			(*a_scrActions)["editClearContents"]->setEnabled(false);
+			(*a_scrActions)["editTruncateContents"]->setEnabled(false);
 			(*a_scrActions)["editSearchReplace"]->setEnabled(false);
 			(*a_scrActions)["extrasHyphenateText"]->setEnabled(false);
 			(*a_scrActions)["extrasDeHyphenateText"]->setEnabled(false);




More information about the scribus-commit mailing list