Git: Add shortcut to "manage remotes" to branch view

Change-Id: I36d9196a41869176f8ad602f1ba406402fc5b77c
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Andre Hartmann
2018-09-22 22:50:29 +02:00
committed by André Hartmann
parent 754fd66a0b
commit 017f4d7c4d
3 changed files with 6 additions and 3 deletions

View File

@@ -180,6 +180,9 @@ void BranchView::slotCustomContextMenu(const QPoint &point)
contextMenu.addAction(tr("Fetch"), this, [this, &remote]() {
GitPlugin::client()->fetch(m_repository, *remote);
});
contextMenu.addSeparator();
contextMenu.addAction(tr("Manage Remotes..."), GitPlugin::instance(),
&GitPlugin::manageRemotes);
}
if (hasActions) {
if (!currentSelected && (isLocal || isTag))