File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,14 @@ local function select_untagged_images()
63
63
dt .gui .selection (selection )
64
64
end
65
65
66
- dt .gui .libs .select .register_selection (
67
- CURR_API_STRING >= " 6.2.2" and " select_untagged" , _ (" select untagged" ) or _ (" select untagged" ) ,
68
- select_untagged_images ,
69
- _ (" select all images containing no tags or only tags added by darktable" ))
66
+ if CURR_API_STRING >= " 6.2.2" then
67
+ dt .gui .libs .select .register_selection (
68
+ " select_untagged" , _ (" select untagged" ),
69
+ select_untagged_images ,
70
+ _ (" select all images containing no tags or only tags added by darktable" ))
71
+ else
72
+ dt .gui .libs .select .register_selection (
73
+ _ (" select untagged" ),
74
+ select_untagged_images ,
75
+ _ (" select all images containing no tags or only tags added by darktable" ))
76
+ end
You can’t perform that action at this time.
0 commit comments