r16309 by jghali - fix crash when exiting polygon edit mode

scribus-commit scribus-commit at lists.scribus.net
Tue Jan 25 23:26:59 CET 2011


Author: jghali
Date: Tue Jan 25 22:26:59 2011
New Revision: 16309

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16309
Log:
fix crash when exiting polygon edit mode

Modified:
    trunk/Scribus/scribus/canvasmode_editpolygon.cpp

Modified: trunk/Scribus/scribus/canvasmode_editpolygon.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16309&path=/trunk/Scribus/scribus/canvasmode_editpolygon.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode_editpolygon.cpp (original)
+++ trunk/Scribus/scribus/canvasmode_editpolygon.cpp Tue Jan 25 22:26:59 2011
@@ -216,6 +216,7 @@
 
 void CanvasMode_EditPolygon::deactivate(bool forGesture)
 {
+	disconnect(VectorDialog, SIGNAL(paletteShown(bool)), this, SLOT(endEditing(bool)));
 	VectorDialog->close();
 	delete VectorDialog;
 	m_view->redrawMarker->hide();




More information about the scribus-commit mailing list