diff --git a/contrib/toggle_group_view.lua b/contrib/toggle_group_view.lua index 1cfe7a1..94714d1 100644 --- a/contrib/toggle_group_view.lua +++ b/contrib/toggle_group_view.lua @@ -240,7 +240,7 @@ local function destroy() if hover_active then dt.destroy_event(MODULE, "mouse-over-image-changed") end - dt.destroy_event(MODULE, "selection_changed") + dt.destroy_event(MODULE, "selection-changed") dt.gui.libs.image.destroy_action(MODULE, "toggle group view") -- leave the shortcut so it doesn't need to be reassigned -- the next time this module starts