Merge pull request #657 from wpferguson/fix_event_destroy

contrib/toggle_group_view - fixed event destroy call
This commit is contained in:
wpferguson
2026-04-04 19:53:27 -04:00
committed by GitHub

View File

@@ -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