r20192 by fschmid - Fixed Bug #13159: New HLC colorpicker causes crash opening File > Preferences

scribus-commit scribus-commit at lists.scribus.net
Mon Jun 22 20:19:42 UTC 2015


Author: fschmid
Date: Mon Jun 22 20:19:42 2015
New Revision: 20192

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20192
Log:
Fixed Bug #13159: New HLC colorpicker causes crash opening File > Preferences

Modified:
    trunk/Scribus/scribus/scribus.cpp

Modified: trunk/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20192&path=/trunk/Scribus/scribus/scribus.cpp
==============================================================================
--- trunk/Scribus/scribus/scribus.cpp (original)
+++ trunk/Scribus/scribus/scribus.cpp Mon Jun 22 20:19:42 2015
@@ -9190,6 +9190,8 @@
 			doc = NULL;
 		}
 	}
+	if (!HaveDoc)
+		doc = NULL;
 	delete dia;
 	undoManager->setUndoEnabled(true);
 }




More information about the scribus-commit mailing list