SettingsPanel: no longer using hardcoded ID to focus a tab
This commit is contained in:
parent
5fd0e57b91
commit
207310cd24
4 changed files with 48 additions and 9 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue