QmlOutline: Always reset views

The incremental update is not working as expected.
This commit is contained in:
Kai Koehne
2010-08-25 12:24:47 +02:00
parent 0166f49983
commit 8346e354ee

View File

@@ -383,7 +383,10 @@ void QmlOutlineModel::update(const SemanticInfo &semanticInfo)
m_typeToIcon.clear(); m_typeToIcon.clear();
QmlOutlineModelSync syncModel(this); QmlOutlineModelSync syncModel(this);
beginResetModel();
syncModel(m_semanticInfo.document); syncModel(m_semanticInfo.document);
endResetModel();
m_context.clear(); m_context.clear();