r18265 by jghali - #11508: Startup Script field in Preference Dialog not functioning

scribus-commit scribus-commit at lists.scribus.net
Tue Apr 23 21:54:01 UTC 2013


Author: jghali
Date: Tue Apr 23 21:54:01 2013
New Revision: 18265

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18265
Log:
#11508: Startup Script field in Preference Dialog not functioning

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

Modified: trunk/Scribus/scribus/plugins/scriptplugin/scripterprefsgui.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18265&path=/trunk/Scribus/scribus/plugins/scriptplugin/scripterprefsgui.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin/scripterprefsgui.cpp (original)
+++ trunk/Scribus/scribus/plugins/scriptplugin/scripterprefsgui.cpp Tue Apr 23 21:54:01 2013
@@ -30,8 +30,7 @@
 	extensionScriptsChk->setChecked(scripterCore->extensionsEnabled());
 	// The startup script box should be disabled  if ext scripts are off
 	startupScriptEdit->setEnabled(extensionScriptsChk->isChecked());
-	connect(extensionScriptsChk, SIGNAL(toggled(bool)),
-			startupScriptEdit, SLOT(setEnabled(bool)));
+	startupScriptEdit->setText(scripterCore->startupScript());
 
 	// signals and slots connections
 	connect(extensionScriptsChk, SIGNAL(toggled(bool)), startupScriptEdit, SLOT(setEnabled(bool)));




More information about the scribus-commit mailing list