Skip to content

Commit 014a0fc

Browse files
authored
Merge pull request darktable-org#430 from wpferguson/explicitly_set_false
Explicitly set non running scriopts to FALSE
2 parents 890168d + bf17dcc commit 014a0fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/script_manager.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,8 @@ local function add_script_name(name, path, category)
467467
table.insert(sm.scripts[category], script)
468468
if pref_read(script.script_name, "bool") then
469469
activate(script)
470+
else
471+
pref_write(script.script_name, "bool", false)
470472
end
471473
restore_log_level(old_log_level)
472474
end

0 commit comments

Comments
 (0)