r19012 by fschmid - Don't open old docs in preview mode.

scribus-commit scribus-commit at lists.scribus.net
Sun Apr 6 08:03:00 UTC 2014


Author: fschmid
Date: Sun Apr  6 08:03:00 2014
New Revision: 19012

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19012
Log:
Don't open old docs in preview mode.

Modified:
    trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp

Modified: trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19012&path=/trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp (original)
+++ trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp Sun Apr  6 08:03:00 2014
@@ -2151,7 +2151,7 @@
 	doc->guidesPrefs().rulerMode    = attrs.valueAsBool("rulerMode", true);
 	doc->guidesPrefs().rulersShown  = attrs.valueAsBool("showrulers", true);
 	doc->guidesPrefs().showBleed    = attrs.valueAsBool("showBleed", true);
-	m_Doc->drawAsPreview		    = attrs.valueAsBool("previewMode", true);
+	m_Doc->drawAsPreview		    = attrs.valueAsBool("previewMode", false);
 	if (attrs.hasAttribute("MARGC"))
 		doc->guidesPrefs().marginColor  = QColor(attrs.valueAsString("MARGC"));
 	if (attrs.hasAttribute("MINORC"))




More information about the scribus-commit mailing list