r23895 by jghali - Fix crash when closing Enhanced Char Palette after accessing it from Insert > Glyph menu

scribus-commit scribus-commit at lists.scribus.net
Thu Jun 18 23:57:11 UTC 2020


Author: jghali
Date: Thu Jun 18 23:57:11 2020
New Revision: 23895

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23895
Log:
Fix crash when closing Enhanced Char Palette after accessing it from Insert > Glyph menu

Modified:
    trunk/Scribus/scribus/ui/charselect.cpp

Modified: trunk/Scribus/scribus/ui/charselect.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23895&path=/trunk/Scribus/scribus/ui/charselect.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/charselect.cpp	(original)
+++ trunk/Scribus/scribus/ui/charselect.cpp	Thu Jun 18 23:57:11 2020
@@ -217,7 +217,7 @@
 	disconnect(m_enhanced, SIGNAL(insertSpecialChars(const QVector<uint> &)), this, SLOT(slot_insertSpecialChars(const QVector<uint> &)));
 	disconnect(m_enhanced, SIGNAL(paletteShown(bool)), enhancedDialogButton, SLOT(setChecked(bool)));
 	m_enhanced->close();
-	delete m_enhanced;
+	m_enhanced->deleteLater();
 	m_enhanced = nullptr;
 }
 




More information about the scribus-commit mailing list