mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
SettingsPanel: no longer using hardcoded ID to focus a tab
This commit is contained in:
@@ -58,6 +58,7 @@ NBox {
|
||||
icon: "settings"
|
||||
tooltipText: "Open settings"
|
||||
onClicked: {
|
||||
settingsPanel.requestedTab = settingsPanel.tabsIds.GENERAL
|
||||
settingsPanel.isLoaded = !settingsPanel.isLoaded
|
||||
}
|
||||
}
|
||||
@@ -135,7 +136,6 @@ NBox {
|
||||
uptimeProcess.running = true
|
||||
}
|
||||
|
||||
|
||||
Process {
|
||||
id: shutdownProcess
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ NBox {
|
||||
NIconButton {
|
||||
icon: "image"
|
||||
onClicked: {
|
||||
settingsPanel.currentTabIndex = 8 // Audio tab index
|
||||
settingsPanel.requestedTab = settingsPanel.tabsIds.WALLPAPER_SELECTOR
|
||||
settingsPanel.isLoaded = true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user