Settings Tab: replaced Tab IDs by a QML enum

This commit is contained in:
quadbyte 2025-08-14 07:42:03 -04:00
parent 71433c7807
commit 2a7810c17c
9 changed files with 36 additions and 42 deletions

View file

@ -14,8 +14,6 @@ NBox {
readonly property real scaling: Scaling.scale(screen)
property string uptimeText: "--"
Layout.fillWidth: true
// Height driven by content
@ -61,7 +59,7 @@ NBox {
icon: "settings"
tooltipText: "Open settings"
onClicked: {
settingsPanel.requestedTab = settingsPanel.tabsIds.GENERAL
settingsPanel.requestedTab = Settings.Tab.General
settingsPanel.isLoaded = !settingsPanel.isLoaded
}
}