r18264 by jghali - #11508: Startup Script field in Preference Dialog not functioning
scribus-commit
scribus-commit at lists.scribus.net
Tue Apr 23 21:53:39 UTC 2013
Author: jghali
Date: Tue Apr 23 21:53:38 2013
New Revision: 18264
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18264
Log:
#11508: Startup Script field in Preference Dialog not functioning
Modified:
branches/Version14x/Scribus/scribus/plugins/scriptplugin/scripterprefsgui.cpp
Modified: branches/Version14x/Scribus/scribus/plugins/scriptplugin/scripterprefsgui.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18264&path=/branches/Version14x/Scribus/scribus/plugins/scriptplugin/scripterprefsgui.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/plugins/scriptplugin/scripterprefsgui.cpp (original)
+++ branches/Version14x/Scribus/scribus/plugins/scriptplugin/scripterprefsgui.cpp Tue Apr 23 21:53:38 2013
@@ -32,8 +32,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