Changed: #1206 fixed bug on context update when only core plugin is loaded

This commit is contained in:
aquiles 2011-05-28 19:23:00 +02:00
parent 8208ec219b
commit c39bd25ef3

View file

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