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:
parent
5cec45d755
commit
5f3cb89b58
|
|
@ -2295,6 +2295,8 @@ void GitPlusPlusView::detectWorkspace()
|
||||||
m_workspaceRepos.prepend(m_gitDir);
|
m_workspaceRepos.prepend(m_gitDir);
|
||||||
} else {
|
} else {
|
||||||
m_repoCombo->hide();
|
m_repoCombo->hide();
|
||||||
|
m_repoCombo->clear();
|
||||||
|
m_workspaceList->clear();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue