Skip to content

Bugfix for scripts preferences dialog

Alexander Trufanov requested to merge (removed):bugfix_script_prefs into master

Without this scriptDir() called with non-empty argument return null object and on script's side
widget = forms.createWidgetFromUIFile(page,KTScriptingPlugin.scriptDir("email_notifications") + "emailconfig.ui")
crashes with warning to stdout.
This happens when user presses preferences button in scripts list (scripting plugin must be enabled, script must be turned on to enable its preferences button. Tested with email_notifications and autoremove scripts).

Merge request reports