Skip to content

Commit f967e96

Browse files
committed
exit attach tags function if there are no tags to attach
1 parent c8713a7 commit f967e96

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contrib/copy_attach_detach_tags.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ local function attach_tags()
9494

9595
if next(image_tags) == nil then
9696
dt.print("No tags to attached, please copy tags first.")
97+
return true
9798
end
9899

99100
local sel_images = dt.gui.action_images

0 commit comments

Comments
 (0)