Skip to content

Commit 4cbb772

Browse files
committed
[script_manager] updated register_event syntax to API 7.0.0
1 parent 8f6c2c8 commit 4cbb772

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/script_manager.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1145,7 +1145,7 @@ if dt.gui.current_view().id == "lighttable" then
11451145
else
11461146
if not sm.event_registered then
11471147
dt.register_event(
1148-
"view-changed",
1148+
"script_manager", "view-changed",
11491149
function(event, old_view, new_view)
11501150
if new_view.name == "lighttable" and old_view.name == "darkroom" then
11511151
install_module()

0 commit comments

Comments
 (0)