forked from qt-creator/qt-creator
QmlDesigner.NodeInstances: No animations for positioners
The population should be not animated. Change-Id: I51313e40d9cd266027ac0838036806d15576b511 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
committed by
Thomas Hartmann
parent
236985dc93
commit
befb414748
@@ -49,7 +49,7 @@ bool PositionerNodeInstance::isResizable() const
|
|||||||
|
|
||||||
void PositionerNodeInstance::setPropertyVariant(const QString &name, const QVariant &value)
|
void PositionerNodeInstance::setPropertyVariant(const QString &name, const QVariant &value)
|
||||||
{
|
{
|
||||||
if (name == "move" || name == "add")
|
if (name == "move" || name == "add" || name == "populate")
|
||||||
return;
|
return;
|
||||||
|
|
||||||
QuickItemNodeInstance::setPropertyVariant(name, value);
|
QuickItemNodeInstance::setPropertyVariant(name, value);
|
||||||
@@ -57,7 +57,7 @@ void PositionerNodeInstance::setPropertyVariant(const QString &name, const QVari
|
|||||||
|
|
||||||
void PositionerNodeInstance::setPropertyBinding(const QString &name, const QString &expression)
|
void PositionerNodeInstance::setPropertyBinding(const QString &name, const QString &expression)
|
||||||
{
|
{
|
||||||
if (name == "move" || name == "add")
|
if (name == "move" || name == "add" || name == "populate")
|
||||||
return;
|
return;
|
||||||
|
|
||||||
QuickItemNodeInstance::setPropertyBinding(name, expression);
|
QuickItemNodeInstance::setPropertyBinding(name, expression);
|
||||||
|
|||||||
Reference in New Issue
Block a user