darktable-org / lua-scripts

151 stars 110 forks source link

script_manager: explicitly set run state of scripts #429

Closed wpferguson closed 10 months ago

wpferguson commented 10 months ago

When a boolean preference is read, using the Lua API, it's created, if it doesn't exist, with a NULL value. This leads to an implicit meaning of false. This should be an explicit false so that we don't encounter another problem like https://github.com/darktable-org/darktable/issues/15280