Commit 3ac38c9f authored by Christiaan Janssen's avatar Christiaan Janssen

QmlDesigner.Navigator: Root node is not collapsable

parent bcc7561d
......@@ -81,6 +81,7 @@ void NavigatorWidget::setTreeModel(QAbstractItemModel* model)
m_treeView->setModel(model);
m_treeView->header()->setResizeMode(0, QHeaderView::Stretch);
m_treeView->header()->resizeSection(1,20);
m_treeView->setRootIsDecorated(false);
#ifdef _LOCK_ITEMS_
m_treeView->header()->resizeSection(2,20);
#endif
......
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