From 4cbb7724f20776be6704d7b86dc7347804229381 Mon Sep 17 00:00:00 2001 From: Bill Ferguson Date: Wed, 14 Jul 2021 11:44:27 -0400 Subject: [PATCH] [script_manager] updated register_event syntax to API 7.0.0 --- tools/script_manager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()