Commit 560c054f authored by dt's avatar dt
Browse files

Fix crash on empty session and right click

Fix got lost in merge resolution
parent 49a15642
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment