Commit 0326243a authored by loh.tar's avatar loh.tar Committed by Christoph Cullmann
Browse files

Fix update text on branch button after branch change

parent a7904736
Pipeline #170467 passed with stage
in 15 minutes and 36 seconds
......@@ -164,7 +164,7 @@ void KateProjectView::checkAndRefreshGit()
m_branchBtn->setHidden(true);
} else {
m_branchBtn->setHidden(false);
auto act = m_pluginView->actionCollection()->action(QStringLiteral("current_branch"));
auto act = m_branchBtn->defaultAction();
Q_ASSERT(act);
act->setText(GitUtils::getCurrentBranchName(dotGitPath.value()));
if (m_branchChangedWatcher.files().isEmpty()) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment