fix: prevent osdVolumeReact state from improper init
This commit is contained in:
parent
e3e5a7e1d5
commit
589aaaf95f
2 changed files with 1 additions and 8 deletions
|
|
@ -25,13 +25,6 @@ Item {
|
|||
objects: root.nodes
|
||||
}
|
||||
|
||||
Binding {
|
||||
target: root.uiState
|
||||
when: root.uiState.dashboardTab === root.index
|
||||
property: "osdVolumeReact"
|
||||
value: false
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
id: layout
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ Scope {
|
|||
// Other state
|
||||
property ListModel workspaces
|
||||
property int dashboardTab: 0
|
||||
property bool osdVolumeReact: true
|
||||
property bool osdVolumeReact: !dashboard || dashboardTab !== 1
|
||||
property bool osdBrightnessReact: true
|
||||
|
||||
Component.onCompleted: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue