aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Hartmann <aha_1980@gmx.de>2025-12-12 17:36:01 +0100
committerAndré Hartmann <aha_1980@gmx.de>2025-12-13 17:20:17 +0000
commitde88d444dfe016ee13a40ae391b055b219c275d6 (patch)
treef9f4c47a9821356e85ae6eb716d0157d7f869301
parent84d789a010becb0ba0908e215e5ec0c39ff2c669 (diff)
Git: Branch View: Refresh after Create BranchHEADmaster
... from change context menu, but without checking out the new branch. Fixes: QTCREATORBUG-33846 Change-Id: Ifdc7c949951d20ccc3a79e8e6ee4ad9308cbf695 Reviewed-by: Robert Löhning <robert.loehning@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
-rw-r--r--src/plugins/git/gitclient.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/git/gitclient.cpp b/src/plugins/git/gitclient.cpp
index c7b00f02a9f..eb9d1a3b32c 100644
--- a/src/plugins/git/gitclient.cpp
+++ b/src/plugins/git/gitclient.cpp
@@ -3947,6 +3947,8 @@ void GitClient::addChangeActions(QMenu *menu, const FilePath &source, const QStr
if (dialog.checkout())
gitClient().checkout(workingDir, newBranch);
+ else
+ VcsManager::emitRepositoryChanged(workingDir);
});
connect(menu->addAction(Tr::tr("&Interactive Rebase from %1...").arg(change)),