QmlDesigner: Update 3D edit view on state change

Change-Id: I56b16afe4d9ccab802d6e07f60b57e46a353cc26
Fixes: QDS-2378
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
Miikka Heikkinen
2020-06-29 12:29:31 +03:00
parent 7ab00c4e94
commit ba942583b8
2 changed files with 8 additions and 0 deletions

View File

@@ -1261,6 +1261,13 @@ void Qt5InformationNodeInstanceServer::changeIds(const ChangeIdsCommand &command
}
}
void Qt5InformationNodeInstanceServer::changeState(const ChangeStateCommand &command)
{
Qt5NodeInstanceServer::changeState(command);
render3DEditView();
}
// update 3D view size when it changes in creator side
void Qt5InformationNodeInstanceServer::update3DViewState(const Update3dViewStateCommand &command)
{

View File

@@ -62,6 +62,7 @@ public:
void changeAuxiliaryValues(const ChangeAuxiliaryCommand &command) override;
void changePropertyBindings(const ChangeBindingsCommand &command) override;
void changeIds(const ChangeIdsCommand &command) override;
void changeState(const ChangeStateCommand &command) override;
private slots:
void handleSelectionChanged(const QVariant &objs);