From f62a5a817fd8bb8f9b1cf5e5fde913ae40d8d4d2 Mon Sep 17 00:00:00 2001 From: Bill Ferguson Date: Sat, 4 Apr 2026 15:21:41 -0400 Subject: [PATCH] official/selection2collection - fixed 2 bugs with destroy function --- official/selection2collection.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/official/selection2collection.lua b/official/selection2collection.lua index 1663160..dc70eba 100644 --- a/official/selection2collection.lua +++ b/official/selection2collection.lua @@ -312,8 +312,8 @@ set_button_sensitive(dt.gui.selection()) local function destroy() dt.destroy_event(MODULE, "inter-script-communication") dt.destroy_event(MODULE, "exit") - dt.destroy_event(MODULE, "selection_changed") - dt.gui.libs.destroy_action(MODULE, "create_collection") + dt.destroy_event(MODULE, "selection-changed") + dt.gui.libs.image.destroy_action(MODULE, "create_collection") end script_data.destroy = destroy