mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-02 02:26:00 +00:00
SessionMenuTab: disabling entries works again (fixes #769)
This commit is contained in:
@@ -351,7 +351,7 @@ ColumnLayout {
|
||||
"enabled": !modelData.enabled
|
||||
})
|
||||
entriesModel = newModel
|
||||
root.saveEntries()
|
||||
delegateItem.saveEntriesFunc()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user