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 fbec2565e9
commit 56cf892b9c

View file

@ -101,6 +101,7 @@ 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()); updateContext(m_contextManager->currentContext());
show(); show();
} }