Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/lua-scripts/nind_denoise_rl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ local function migrate_pref(key, type, default)
return dt.preferences.read(MODULE_NAME, key, type)
end)

if success then
if success and value ~= nil and value ~= "" then
return value
end
return default
Expand Down Expand Up @@ -919,4 +919,4 @@ script_data.destroy = destroy
return script_data

-- vim: shiftwidth=2 expandtab tabstop=2 cindent syntax=lua
-- kate: hl Lua;
-- kate: hl Lua;