r18267 by jghali - small additional fix somewhat related to #11508

scribus-commit scribus-commit at lists.scribus.net
Tue Apr 23 22:00:13 UTC 2013


Author: jghali
Date: Tue Apr 23 22:00:12 2013
New Revision: 18267

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18267
Log:
small additional fix somewhat related to #11508

Modified:
    trunk/Scribus/scribus/plugins/scriptplugin/scriptercore.cpp

Modified: trunk/Scribus/scribus/plugins/scriptplugin/scriptercore.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18267&path=/trunk/Scribus/scribus/plugins/scriptplugin/scriptercore.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin/scriptercore.cpp (original)
+++ trunk/Scribus/scribus/plugins/scriptplugin/scriptercore.cpp Tue Apr 23 22:00:12 2013
@@ -553,7 +553,7 @@
 
 void ScripterCore::runStartupScript()
 {
-	if ((m_enableExtPython) && (!m_startupScript.isNull()))
+	if ((m_enableExtPython) && (!m_startupScript.isEmpty()))
 	{
 		if (QFile::exists(this->m_startupScript))
 		{




More information about the scribus-commit mailing list