Call the onActivate method of the current context after all plugins are initialized.

--HG--
branch : dfighter-tools
hg/feature/streamed-package
dfighter1985 11 years ago
parent f61438d7d9
commit e67e9594e1

@ -108,8 +108,14 @@ void MainWindow::extensionsInitialized()
readSettings();
connect(m_contextManager, SIGNAL(currentContextChanged(Core::IContext *)),
this, SLOT(updateContext(Core::IContext *)));
if (m_contextManager->currentContext() != NULL)
updateContext(m_contextManager->currentContext());
Core::IContext *context = m_contextManager->currentContext();
if (context != NULL)
{
updateContext(context);
context->onActivated();
}
show();
}

Loading…
Cancel
Save