tools/script_manager - fixed gui safety test for gui installation

This commit is contained in:
Bill Ferguson
2026-04-19 14:54:25 -04:00
parent 78176e32e8
commit 503a59d590

View File

@@ -1636,7 +1636,7 @@ script_manager_running_script = nil
-- D A R K T A B L E I N T E G R A T I O N
-- - - - - - - - - - - - - - - - - - - - - - - -
if dt.gui.current_view().id == "lighttable" darktable_gui_safe then
if (dt.gui.current_view().id == "lighttable") and darktable_gui_safe then
install_module()
else
if not sm.event_registered then