mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-11 09:49:05 +00:00
Call the onActivate method of the current context after all plugins are initialized.
This commit is contained in:
parent
b98120ebb8
commit
d73bf5f285
1 changed files with 8 additions and 2 deletions
|
@ -108,8 +108,14 @@ void MainWindow::extensionsInitialized()
|
||||||
readSettings();
|
readSettings();
|
||||||
connect(m_contextManager, SIGNAL(currentContextChanged(Core::IContext *)),
|
connect(m_contextManager, SIGNAL(currentContextChanged(Core::IContext *)),
|
||||||
this, SLOT(updateContext(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();
|
show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue