Commit d5932f0c authored by dt's avatar dt
Browse files

Active project not beeing bold after switching navigation views

Task-Nr: QTCREATORBUG-1741
parent c96c375a
......@@ -124,6 +124,9 @@ ProjectTreeWidget::ProjectTreeWidget(QWidget *parent)
m_currentItemLocked(0)
{
m_model = new FlatModel(m_explorer->session()->sessionNode(), this);
Project *pro = m_explorer->session()->startupProject();
if (pro)
m_model->setStartupProject(pro->rootProjectNode());
NodesWatcher *watcher = new NodesWatcher(this);
m_explorer->session()->sessionNode()->registerWatcher(watcher);
......
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