r18066 by fschmid - Fixed Bug #11349: Crash after double-clicking "empty symbol"

scribus-commit scribus-commit at lists.scribus.net
Mon Jan 7 09:21:31 UTC 2013


Author: fschmid
Date: Mon Jan  7 09:21:31 2013
New Revision: 18066

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18066
Log:
Fixed Bug #11349: Crash after double-clicking "empty symbol"

Modified:
    trunk/Scribus/scribus/scribus.cpp

Modified: trunk/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18066&path=/trunk/Scribus/scribus/scribus.cpp
==============================================================================
--- trunk/Scribus/scribus/scribus.cpp (original)
+++ trunk/Scribus/scribus/scribus.cpp Mon Jan  7 09:21:31 2013
@@ -8726,6 +8726,8 @@
 {
 	if (HaveDoc)
 	{
+		if (!doc->docPatterns.contains(temp))
+			return;
 		m_WasAutoSave = doc->autoSave();
 		if (m_WasAutoSave)
 		{




More information about the scribus-commit mailing list