Fix crash on empty session and right click

Fix got lost in merge resolution
This commit is contained in:
dt
2010-07-01 17:48:35 +02:00
parent 49a15642b9
commit 560c054f75

View File

@@ -1223,7 +1223,7 @@ void ProjectExplorerPlugin::showContextMenu(const QPoint &globalPos, Node *node)
contextMenu = d->m_sessionContextMenu;
}
updateContextMenuActions(d->m_currentNode);
updateContextMenuActions(node);
if (contextMenu && contextMenu->actions().count() > 0) {
contextMenu->popup(globalPos);
}