mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-29 12:20:53 +00:00
Changed: #1206 fixed bug on context update when only core plugin is loaded
This commit is contained in:
parent
3b7d88c6bd
commit
be4f9c91cc
1 changed files with 5 additions and 4 deletions
|
@ -98,10 +98,11 @@ bool MainWindow::initialize(QString *errorString)
|
|||
|
||||
void MainWindow::extensionsInitialized()
|
||||
{
|
||||
readSettings();
|
||||
connect(m_contextManager, SIGNAL(currentContextChanged(Core::IContext*)),
|
||||
this, SLOT(updateContext(Core::IContext*)));
|
||||
updateContext(m_contextManager->currentContext());
|
||||
readSettings();
|
||||
connect(m_contextManager, SIGNAL(currentContextChanged(Core::IContext*)),
|
||||
this, SLOT(updateContext(Core::IContext*)));
|
||||
if (m_contextManager->currentContext() != NULL)
|
||||
updateContext(m_contextManager->currentContext());
|
||||
show();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue