Commit d5932f0c authored by dt's avatar dt
Browse files

Active project not beeing bold after switching navigation views

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