From 9cbbae9621a1cc7e2a9a2cf40430777bd8a1c3ee Mon Sep 17 00:00:00 2001 From: Bill Ferguson Date: Sat, 4 Apr 2026 19:52:13 -0400 Subject: [PATCH] contrib/toggle_group_view - fixed event destroy call --- contrib/toggle_group_view.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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