forked from qt-creator/qt-creator
Fix context registration for project tree.
Broke with IContext refactoring.
This commit is contained in:
@@ -76,6 +76,7 @@ public:
|
|||||||
// setExpandsOnDoubleClick(false);
|
// setExpandsOnDoubleClick(false);
|
||||||
m_context = new Core::IContext(this);
|
m_context = new Core::IContext(this);
|
||||||
m_context->setContext(Core::Context(Constants::C_PROJECT_TREE));
|
m_context->setContext(Core::Context(Constants::C_PROJECT_TREE));
|
||||||
|
m_context->setWidget(this);
|
||||||
Core::ICore::instance()->addContextObject(m_context);
|
Core::ICore::instance()->addContextObject(m_context);
|
||||||
}
|
}
|
||||||
~ProjectTreeView()
|
~ProjectTreeView()
|
||||||
|
Reference in New Issue
Block a user