[graphics/koko/release/26.08] src/qml/gallery: GalleryPage: Always show bookmark action for folder views
Oliver Beard <[email protected]> Tue, 4 Aug 2026 13:30:43 +0000 (UTC)
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 0afc2820808b4dc14e38d1227389cef5792d5c6b by Oliver Beard.
Committed on 04/08/2026 at 13:25.
Pushed by olib into branch 'release/26.08'.
GalleryPage: Always show bookmark action for folder views
This makes showing/hiding the action more consistent. It'll still be disabled for built-in views (e.g. Pictures, Trash).
M +1 -1 src/qml/gallery/GalleryPage.qml
https://invent.kde.org/graphics/koko/-/commit/0afc2820808b4dc14e38d1227389cef5792d5c6b
diff --git a/src/qml/gallery/GalleryPage.qml b/src/qml/gallery/GalleryPage.qml
index ebfe8e15..ea9b93eb 100644
--- a/src/qml/gallery/GalleryPage.qml
+++ b/src/qml/gallery/GalleryPage.qml
@@ -265,7 +265,7 @@ Kirigami.ScrollablePage {
checkable: true
checked: page.isBookmarked
enabled: canBookmark
- visible: canBookmark
+ visible: isFolderView
displayHint: Kirigami.DisplayHint.IconOnly
onToggled: {
if (!(galleryModel instanceof Koko.GalleryFolderModel) || galleryModel.url == undefined) {