RibbonTitleBar: fix modern style button's state non-sync bug.

This commit is contained in:
Mentalflow 2023-08-22 11:03:35 +08:00
parent fb8f5b0110
commit 8e86e7e112
Signed by: Mentalflow
GPG Key ID: 5AE68D4401A2EE71
1 changed files with 1 additions and 0 deletions

View File

@ -128,6 +128,7 @@ Item {
grabber_text_unchecked_color: "white" grabber_text_unchecked_color: "white"
grabber_text_checked_color: "black" grabber_text_checked_color: "black"
onClicked: RibbonTheme.modern_style = checked onClicked: RibbonTheme.modern_style = checked
checked: RibbonTheme.modern_style
visible: show_style_switch visible: show_style_switch
} }
RibbonButton{ RibbonButton{