Commit 749d559a authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner.navigatorWidget: changing focus policy

Focus is needed to allow keyboard shortcuts and cursor navigation.
parent 363883b5
......@@ -54,7 +54,6 @@ NavigatorWidget::NavigatorWidget(NavigatorView *view) :
m_treeView->setSelectionBehavior(QAbstractItemView::SelectRows);
m_treeView->header()->setStretchLastSection(false);
m_treeView->setDefaultDropAction(Qt::LinkAction);
m_treeView->setFocusPolicy(Qt::NoFocus);
m_treeView->setHeaderHidden(true);
QVBoxLayout *layout = new QVBoxLayout;
......
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