Skip to content

Commit

Permalink
feat(qml): only show the tag button if there is tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Bionus committed Apr 20, 2024
1 parent 42b003f commit 84e64c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui-qml/src/components/ImageScreen.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 84e64c5

Please # to comment.