r19607 by craig - #12786: Do not show the startup dialog when GUI is not requested

scribus-commit scribus-commit at lists.scribus.net
Wed Oct 22 18:31:40 UTC 2014


Author: craig
Date: Wed Oct 22 18:31:40 2014
New Revision: 19607

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19607
Log:
#12786:  Do not show the startup dialog when GUI is not requested

Modified:
    trunk/Scribus/scribus/scribuscore.cpp

Modified: trunk/Scribus/scribus/scribuscore.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19607&path=/trunk/Scribus/scribus/scribuscore.cpp
==============================================================================
--- trunk/Scribus/scribus/scribuscore.cpp (original)
+++ trunk/Scribus/scribus/scribuscore.cpp Wed Oct 22 18:31:40 2014
@@ -130,7 +130,8 @@
 		}
 		else
 		{
-			if (PrefsManager::instance()->appPrefs.uiPrefs.showStartupDialog)
+			if (PrefsManager::instance()->appPrefs.uiPrefs.showStartupDialog
+			    && usingGUI())
 				scribus->startUpDialog();
 			else
 				scribus->setFocus();




More information about the scribus-commit mailing list