inline if didn't work. Replaced with full if/else
This commit is contained in:
@@ -63,7 +63,14 @@ local function select_untagged_images()
|
|||||||
dt.gui.selection(selection)
|
dt.gui.selection(selection)
|
||||||
end
|
end
|
||||||
|
|
||||||
dt.gui.libs.select.register_selection(
|
if CURR_API_STRING >= "6.2.2" then
|
||||||
CURR_API_STRING >= "6.2.2" and "select_untagged", _("select untagged") or _("select untagged") ,
|
dt.gui.libs.select.register_selection(
|
||||||
select_untagged_images,
|
"select_untagged", _("select untagged"),
|
||||||
_("select all images containing no tags or only tags added by darktable"))
|
select_untagged_images,
|
||||||
|
_("select all images containing no tags or only tags added by darktable"))
|
||||||
|
else
|
||||||
|
dt.gui.libs.select.register_selection(
|
||||||
|
_("select untagged"),
|
||||||
|
select_untagged_images,
|
||||||
|
_("select all images containing no tags or only tags added by darktable"))
|
||||||
|
end
|
||||||
Reference in New Issue
Block a user