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

This commit is contained in:
dfighter1985 2014-09-22 23:41:55 +02:00
parent d19e4ecaab
commit 23d28dff8d

View file

@ -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();
}