QmlPuppet: Update 3D edit view on property removal

Change-Id: I9cdcc7a4a1515b6046bc2c7c78de196a2c7d8c22
Fixes: QDS-2840
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
Miikka Heikkinen
2020-09-28 12:15:19 +03:00
parent f6b3f41d19
commit fbc6e3196c
2 changed files with 8 additions and 0 deletions

View File

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

View File

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