forked from qt-creator/qt-creator
Fix crash on empty session and right click
Fix got lost in merge resolution
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user