r19551 by jghali - #12743: Item > Send to Layer might lead to crash if in node edit mode
scribus-commit
scribus-commit at lists.scribus.net
Sat Oct 4 23:38:10 UTC 2014
Author: jghali
Date: Sat Oct 4 23:38:10 2014
New Revision: 19551
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19551
Log:
#12743: Item > Send to Layer might lead to crash if in node edit mode
Modified:
trunk/Scribus/scribus/appmodehelper.cpp
Modified: trunk/Scribus/scribus/appmodehelper.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19551&path=/trunk/Scribus/scribus/appmodehelper.cpp
==============================================================================
--- trunk/Scribus/scribus/appmodehelper.cpp (original)
+++ trunk/Scribus/scribus/appmodehelper.cpp Sat Oct 4 23:38:10 2014
@@ -538,7 +538,14 @@
(*a_scrActions)["toolsPDFAnnot3D"]->setEnabled(b2);
#endif
(*a_scrActions)["itemDelete"]->setEnabled(b2);
+ (*a_scrActions)["itemConvertToTextFrame"]->setEnabled(b2);
+ (*a_scrActions)["itemConvertToImageFrame"]->setEnabled(b2);
+ (*a_scrActions)["itemConvertToPolygon"]->setEnabled(b2);
+ (*a_scrActions)["itemConvertToBezierCurve"]->setEnabled(b2);
+ (*a_scrActions)["itemConvertToOutlines"]->setEnabled(b2);
(*a_scrActions)["itemConvertToSymbolFrame"]->setEnabled(b2);
+
+ setActionGroupEnabled(a_scrLayersActions, b2);
}
void AppModeHelper::setSymbolEditMode(bool b, ScribusDoc* doc)
More information about the scribus-commit
mailing list