r15026 by fschmid - Fixed Bug #9072: "Crash if a button in the toolbar is clicked while a mesh gradient is being edited"

scribus-commit scribus-commit at lists.scribus.net
Sat May 1 01:40:17 CEST 2010


Revision: 15026
Author: fschmid
Date: 2010-04-30T23:39:26.213174Z
Commit message: Fixed Bug #9072: "Crash if a button in the toolbar is clicked while a mesh gradient is being edited"

Changeset: 
M  /trunk/Scribus/scribus/canvasmode_editmeshgradient.cpp

Diffs:
Index: scribus/canvasmode_editmeshgradient.cpp
===================================================================
--- scribus/canvasmode_editmeshgradient.cpp	(revision 15025)
+++ scribus/canvasmode_editmeshgradient.cpp	(revision 15026)
@@ -121,9 +121,6 @@
 void CanvasMode_EditMeshGradient::deactivate(bool forGesture)
 {
 	m_view->redrawMarker->hide();
-	PageItem *currItem = m_doc->m_Selection->itemAt(0);
-	currItem->selectedMeshPointX = -1;
-	currItem->selectedMeshPointY = -1;
 	arrayX = -1;
 	arrayY = -1;
 	m_gradientPoint = noPointDefined;




More information about the scribus-commit mailing list