Commit 1daebd7c authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.navigatorModel: fixes asserts

parent 7fa7ec98
......@@ -300,7 +300,7 @@ void NavigatorTreeModel::handleChangedItem(QStandardItem *item)
return;
uint nodeHash = item->data(NavigatorRole).toUInt();
Q_ASSERT(nodeHash >= 0 && containsNodeHash(nodeHash));
Q_ASSERT(containsNodeHash(nodeHash));
ModelNode node = nodeForHash(nodeHash);
ItemRow itemRow = itemRowForNode(node);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment