forked from qt-creator/qt-creator
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:
@@ -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)
|
||||||
{
|
{
|
||||||
|
@@ -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);
|
||||||
|
Reference in New Issue
Block a user