diff --git a/tools/script_manager.lua b/tools/script_manager.lua index 41181ca..eb2db04 100644 --- a/tools/script_manager.lua +++ b/tools/script_manager.lua @@ -1145,7 +1145,7 @@ if dt.gui.current_view().id == "lighttable" then else if not sm.event_registered then dt.register_event( - "view-changed", + "script_manager", "view-changed", function(event, old_view, new_view) if new_view.name == "lighttable" and old_view.name == "darkroom" then install_module()