official/selection2collection - fixed 2 bugs with destroy function

This commit is contained in:
Bill Ferguson
2026-04-04 15:21:41 -04:00
parent 44b40b305b
commit f62a5a817f

View File

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