QuickToolBar: critical bugfix

The protype chain is cached in m_prototypes,
but the type might have changed.
We have to check for this case.

Reviewed-by: Lasse Holmstedt
This commit is contained in:
Thomas Hartmann
2010-11-11 16:32:46 +01:00
parent 1d7cb01f64
commit 7b179fea73
2 changed files with 8 additions and 0 deletions

View File

@@ -53,6 +53,7 @@ private:
bool m_blockWriting;
QStringList m_propertyOrder;
QStringList m_prototypes;
QString m_oldType;
};
} //QmlDesigner