r15095 by jghali - #9092 (2nd round): switching master pages while "Edit content" tool is active makes frames unclickable

scribus-commit scribus-commit at lists.scribus.net
Thu May 20 23:30:21 CEST 2010


Revision: 15095
Author: jghali
Date: 2010-05-20T21:19:55.221182Z
Commit message: #9092 (2nd round): switching master pages while "Edit content" tool is active makes frames unclickable

Changeset: 
M  /trunk/Scribus/scribus/ui/masterpagepalette.cpp

Diffs:
Index: scribus/ui/masterpagepalette.cpp
===================================================================
--- scribus/ui/masterpagepalette.cpp	(revision 15094)
+++ scribus/ui/masterpagepalette.cpp	(revision 15095)
@@ -414,6 +414,8 @@
 		deleteButton->setEnabled(true);
 	if (currentDoc->appMode == modeEditClip)
 		currentView->requestMode(submodeEndNodeEdit);
+	else if (currentDoc->appMode == modeEdit || currentDoc->appMode == modeEditGradientVectors)
+		currentView->requestMode(modeNormal);
 	currentView->showMasterPage(currentDoc->MasterNames[sMuster]);
 }
 




More information about the scribus-commit mailing list