forked from qt-creator/qt-creator
QmlDesigner: Remove harmful updates
From the quick1 times we always have done a update but it is not any more useful and it is triggering a repaint which makes the form editor sluggish. Change-Id: I8103d03c295aa73e14b4b4fcec15b01069c62754 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
This commit is contained in:
@@ -633,8 +633,6 @@ void QuickItemNodeInstance::setPropertyVariant(const PropertyName &name, const Q
|
||||
|
||||
ObjectNodeInstance::setPropertyVariant(name, value);
|
||||
|
||||
quickItem()->update();
|
||||
|
||||
refresh();
|
||||
|
||||
if (isInLayoutable())
|
||||
@@ -654,8 +652,6 @@ void QuickItemNodeInstance::setPropertyBinding(const PropertyName &name, const Q
|
||||
|
||||
ObjectNodeInstance::setPropertyBinding(name, expression);
|
||||
|
||||
quickItem()->update();
|
||||
|
||||
refresh();
|
||||
|
||||
if (isInLayoutable())
|
||||
@@ -720,8 +716,6 @@ void QuickItemNodeInstance::resetProperty(const PropertyName &name)
|
||||
|
||||
ObjectNodeInstance::resetProperty(name);
|
||||
|
||||
quickItem()->update();
|
||||
|
||||
if (isInLayoutable())
|
||||
parentInstance()->refreshLayoutable();
|
||||
}
|
||||
|
Reference in New Issue
Block a user