r19482 by craig - #12666: deselect all part of this bug fixed

scribus-commit scribus-commit at lists.scribus.net
Fri Sep 5 21:02:28 UTC 2014


Author: craig
Date: Fri Sep  5 21:02:28 2014
New Revision: 19482

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19482
Log:
#12666: deselect all part of this bug fixed

Modified:
    trunk/Scribus/scribus/scribus.cpp

Modified: trunk/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19482&path=/trunk/Scribus/scribus/scribus.cpp
==============================================================================
--- trunk/Scribus/scribus/scribus.cpp (original)
+++ trunk/Scribus/scribus/scribus.cpp Fri Sep  5 21:02:28 2014
@@ -5464,7 +5464,21 @@
 
 void ScribusMainWindow::deselectAll()
 {
-	if (doc->appMode == modeEdit || doc->appMode == modeEditTable)
+	bool inEditMode=false;
+
+	if (doc->appMode == modeEdit ||
+		doc->appMode == modeEditTable ||
+		doc->appMode == modeEditSpiral ||
+		doc->appMode == modeEditGradientVectors ||
+		doc->appMode == modeEditClip ||
+		doc->appMode == modeEditMeshGradient ||
+		doc->appMode == modeEditArc ||
+		doc->appMode == modeEditMeshPatch ||
+		doc->appMode == modeEditWeldPoint
+		)
+		inEditMode=true;
+
+	if (inEditMode)
 	{
 		if (doc->m_Selection->isEmpty())
 			return;




More information about the scribus-commit mailing list