From 84e64c54551832a35fef16ec50258d3283e4c57d Mon Sep 17 00:00:00 2001 From: Bionus Date: Sat, 20 Apr 2024 13:25:39 +0200 Subject: [PATCH] feat(qml): only show the tag button if there is tags --- src/gui-qml/src/components/ImageScreen.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui-qml/src/components/ImageScreen.qml b/src/gui-qml/src/components/ImageScreen.qml index 85381edcd..84666720b 100644 --- a/src/gui-qml/src/components/ImageScreen.qml +++ b/src/gui-qml/src/components/ImageScreen.qml @@ -23,6 +23,7 @@ Page { RowLayout { ToolButton { + visible: image.tags.rowCount() > 0 icon.source: showTags ? "/images/icons/image.png" : "/images/icons/tags.png" onClicked: showTags = !showTags }