r23165 by jghali - #15788: A style may still be used after being deleted

scribus-commit scribus-commit at lists.scribus.net
Wed Aug 28 12:30:38 UTC 2019


Author: jghali
Date: Wed Aug 28 12:30:38 2019
New Revision: 23165

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23165
Log:
#15788: A style may still be used after being deleted

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

Modified: trunk/Scribus/scribus/ui/stylemanager.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23165&path=/trunk/Scribus/scribus/ui/stylemanager.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/stylemanager.cpp	(original)
+++ trunk/Scribus/scribus/ui/stylemanager.cpp	Wed Aug 28 12:30:38 2019
@@ -833,6 +833,9 @@
 			m_isStoryEditMode=false;
 			hide();
 		}
+
+		m_rcStyle.clear();
+		m_rcType.clear();
 	}
 	else
 	{




More information about the scribus-commit mailing list