diff --git a/src/plugins/git/branchview.cpp b/src/plugins/git/branchview.cpp index 555db9b01be..c8ff252f154 100644 --- a/src/plugins/git/branchview.cpp +++ b/src/plugins/git/branchview.cpp @@ -236,7 +236,7 @@ void BranchView::slotCustomContextMenu(const QPoint &point) SetInContext block(m_blockRefresh); QMenu contextMenu; - if (isLocal) + if (isLocal || hasActions) contextMenu.addAction(Tr::tr("&Add..."), this, &BranchView::add); const std::optional remote = m_model->remoteName(index);