r23325 by jghali - Fix crash when quitting spiral edit mode by close dialog with cross button

scribus-commit scribus-commit at lists.scribus.net
Mon Nov 4 15:32:50 UTC 2019


Author: jghali
Date: Mon Nov  4 15:32:50 2019
New Revision: 23325

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23325
Log:
Fix crash when quitting spiral edit mode by close dialog with cross button

Modified:
    trunk/Scribus/scribus/canvasmode_editspiral.cpp

Modified: trunk/Scribus/scribus/canvasmode_editspiral.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23325&path=/trunk/Scribus/scribus/canvasmode_editspiral.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode_editspiral.cpp	(original)
+++ trunk/Scribus/scribus/canvasmode_editspiral.cpp	Mon Nov  4 15:32:50 2019
@@ -256,7 +256,7 @@
 {
 	disconnect(m_VectorDialog, SIGNAL(paletteShown(bool)), this, SLOT(endEditing(bool)));
 	m_VectorDialog->close();
-	delete m_VectorDialog;
+	m_VectorDialog->deleteLater();
 	m_view->setRedrawMarkerShown(false);
 	m_arcPoint = noPointDefined;
 	disconnect(m_doc, SIGNAL(docChanged()), this, SLOT(updateFromItem()));




More information about the scribus-commit mailing list