Commit 88683f97 authored by Lasse Holmstedt's avatar Lasse Holmstedt
Browse files

Fixed ugly headers in bauhaus navigator on startup

parent 4d457401
......@@ -95,7 +95,6 @@ void NavigatorView::modelAttached(Model *model)
#ifdef _LOCK_ITEMS_
treeView->header()->resizeSection(2,20);
#endif
treeView->setHeaderHidden(true);
}
void NavigatorView::modelAboutToBeDetached(Model *model)
......
......@@ -49,6 +49,7 @@ NavigatorWidget::NavigatorWidget(QWidget* parent) :
m_treeView->header()->setStretchLastSection(false);
m_treeView->setDefaultDropAction(Qt::LinkAction);
m_treeView->setFocusPolicy(Qt::NoFocus);
m_treeView->setHeaderHidden(true);
QVBoxLayout *layout = new QVBoxLayout;
layout->setSpacing(0);
......
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