r15960 by jghali - #9514: Potential crash in style manager after closing doc

scribus-commit scribus-commit at lists.scribus.net
Tue Nov 23 01:29:02 CET 2010


Author: jghali
Date: Tue Nov 23 00:29:02 2010
New Revision: 15960

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=15960
Log:
#9514: Potential crash in style manager after closing doc

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

Modified: trunk/Scribus/scribus/ui/stylemanager.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15960&path=/trunk/Scribus/scribus/ui/stylemanager.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/stylemanager.cpp (original)
+++ trunk/Scribus/scribus/ui/stylemanager.cpp Tue Nov 23 00:29:02 2010
@@ -205,6 +205,7 @@
 
 	// clear the style list and reload from new doc
 	styleView->clear();
+	m_selectedStyleAction = 0;
 	m_styleActions.clear();
 	for (int i = 0; i < m_items.count(); ++i)
 	{




More information about the scribus-commit mailing list