forked from qt-creator/qt-creator
QmlDesigner: Fix for Style ComboBox
Task-number: QDS-11257 Change-Id: Ie50b9f585914c8f6345d61a8e6c5347998b3fc63 Reviewed-by: Aleksei German <aleksei.german@qt.io> Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
This commit is contained in:
@@ -513,7 +513,7 @@ void ToolBarBackend::setCurrentStyle(int index)
|
|||||||
|
|
||||||
const QString qmlFile = view->model()->fileUrl().toLocalFile();
|
const QString qmlFile = view->model()->fileUrl().toLocalFile();
|
||||||
|
|
||||||
ChangeStyleWidgetAction::changeCurrentStyle(item.styleName, qmlFile);
|
ChangeStyleWidgetAction::changeCurrentStyle(item.displayName, qmlFile);
|
||||||
|
|
||||||
view->resetPuppet();
|
view->resetPuppet();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user