Clear combo and workspace list when leaving workspace mode

Ensure repo combo and workspace list are cleared (not just hidden)
when switching to a non-workspace project.
This commit is contained in:
Levi Neely 2026-07-23 08:48:22 +02:00
parent 5cec45d755
commit 5f3cb89b58
1 changed files with 2 additions and 0 deletions

View File

@ -2295,6 +2295,8 @@ void GitPlusPlusView::detectWorkspace()
m_workspaceRepos.prepend(m_gitDir);
} else {
m_repoCombo->hide();
m_repoCombo->clear();
m_workspaceList->clear();
return;
}
} else {