QmlInspector: fixed bug in crumblepath

This commit is contained in:
Christiaan Janssen
2011-02-28 17:14:00 +01:00
parent d24ebfed3d
commit 512fe4b668
2 changed files with 6 additions and 4 deletions

View File

@@ -758,9 +758,11 @@ void InspectorUi::setupDockWidgets()
void InspectorUi::crumblePathElementClicked(int debugId)
{
QList<int> l;
l << debugId;
selectItems(l);
if (debugId != -1) {
QList<int> l;
l << debugId;
selectItems(l);
}
}
bool InspectorUi::showExperimentalWarning()