From 098e7f564518b367f2a4cc2725f31b19578c910e Mon Sep 17 00:00:00 2001 From: Ly-sec Date: Sun, 16 Nov 2025 10:20:43 +0100 Subject: [PATCH] SessionMenuTab: disabling entries works again (fixes #769) --- Modules/Panels/Settings/Tabs/SessionMenuTab.qml | 2 +- Modules/Panels/Wallpaper/WallpaperPanel.qml | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Modules/Panels/Settings/Tabs/SessionMenuTab.qml b/Modules/Panels/Settings/Tabs/SessionMenuTab.qml index 130f5337..884e5cb2 100644 --- a/Modules/Panels/Settings/Tabs/SessionMenuTab.qml +++ b/Modules/Panels/Settings/Tabs/SessionMenuTab.qml @@ -351,7 +351,7 @@ ColumnLayout { "enabled": !modelData.enabled }) entriesModel = newModel - root.saveEntries() + delegateItem.saveEntriesFunc() } } } diff --git a/Modules/Panels/Wallpaper/WallpaperPanel.qml b/Modules/Panels/Wallpaper/WallpaperPanel.qml index 242ea7c9..25b85311 100644 --- a/Modules/Panels/Wallpaper/WallpaperPanel.qml +++ b/Modules/Panels/Wallpaper/WallpaperPanel.qml @@ -1199,7 +1199,11 @@ SmartPanel { RowLayout { Layout.fillWidth: true visible: !loading && errorMessage === "" && typeof WallhavenService !== "undefined" - spacing: Style.marginM + spacing: Style.marginS + + Item { + Layout.fillWidth: true + } NIconButton { icon: "chevron-left" @@ -1210,7 +1214,6 @@ SmartPanel { NText { text: I18n.tr("wallpaper.wallhaven.page").replace("{current}", WallhavenService.currentPage).replace("{total}", WallhavenService.lastPage) color: Color.mOnSurface - Layout.fillWidth: true horizontalAlignment: Text.AlignHCenter } @@ -1219,6 +1222,10 @@ SmartPanel { enabled: WallhavenService.currentPage < WallhavenService.lastPage && !WallhavenService.fetching onClicked: WallhavenService.nextPage() } + + Item { + Layout.fillWidth: true + } } }