diff --git a/share/qtcreator/qmldesigner/statusbar/Main.qml b/share/qtcreator/qmldesigner/statusbar/Main.qml index 9569aced92c..1eb33b82360 100644 --- a/share/qtcreator/qmldesigner/statusbar/Main.qml +++ b/share/qtcreator/qmldesigner/statusbar/Main.qml @@ -89,9 +89,9 @@ Item { model: backend.styles onActivated: backend.setCurrentStyle(styles.currentIndex) openUpwards: true - enabled: backend.isInDesignMode + enabled: backend.isInDesignMode && !backend.isMCUs property int currentStyleIndex: backend.currentStyle - onCurrentStyleIndexChanged: currentIndex = backend.currentStyle + onCurrentStyleIndexChanged: styles.currentIndex = backend.currentStyle } } }