Skip to content

Commit

Permalink
Fix crash with exit confirmation
Browse files Browse the repository at this point in the history
  • Loading branch information
CrystalMoogle committed May 17, 2015
1 parent e385c2c commit 91633a7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Teambuilder/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,9 @@ QMenuBar *MainEngine::transformMenuBar(QMenuBar *param)
QMenu *m = param->addMenu(tr("Plugins"));
m->addAction(tr("Plugin Manager"), this, SLOT(openPluginManager()));
m->addSeparator();

if (pluginManager == NULL) {
pluginManager = new ClientPluginManager(this);
}
foreach(QString plugin, pluginManager->getVisiblePlugins()) {
m->addAction(plugin, this, SLOT(openPluginConfiguration()));
}
Expand Down

0 comments on commit 91633a7

Please sign in to comment.