Revert changes to accomadate API changes greater than 6.1

This commit is contained in:
Bill Ferguson
2021-06-11 19:47:43 -04:00
parent 350cdfa436
commit 9d59479049
8 changed files with 55 additions and 201 deletions

View File

@@ -64,14 +64,7 @@ local function select_untagged_images(event, images)
return selection
end
if CURR_API_STRING >= "6.2.2" then
dt.gui.libs.select.register_selection(
"select_untagged", _("select untagged"),
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
dt.gui.libs.select.register_selection(
_("select untagged"),
select_untagged_images,
_("select all images containing no tags or only tags added by darktable"))