BranchView: Add ellipsis to rename and remove action

Both open a new dialog to perform the action.

Change-Id: Ie93b99b1ff64927de24de49cd5e30ee729d749b2
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Andre Hartmann
2018-10-17 19:01:08 +02:00
committed by André Hartmann
parent 14d1cffe1e
commit 4e0f14b8a5

View File

@@ -185,9 +185,9 @@ void BranchView::slotCustomContextMenu(const QPoint &point)
}
if (hasActions) {
if (!currentSelected && (isLocal || isTag))
contextMenu.addAction(tr("Remove"), this, &BranchView::remove);
contextMenu.addAction(tr("Remove..."), this, &BranchView::remove);
if (isLocal || isTag)
contextMenu.addAction(tr("Rename"), this, &BranchView::rename);
contextMenu.addAction(tr("Rename..."), this, &BranchView::rename);
if (!currentSelected)
contextMenu.addAction(tr("Checkout"), this, &BranchView::checkout);
contextMenu.addSeparator();