Commit 09bb868a authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Gitwidget; Fix assert

parent 51166756
Pipeline #209295 passed with stage
in 18 minutes and 8 seconds
......@@ -434,9 +434,11 @@ void GitWidget::setActiveGitDir()
idx++;
}
if (activeSubmoduleIdx == -1 && m_activeGitDirPath != m_topLevelGitPath) {
m_activeGitDirPath = m_topLevelGitPath;
updateStatus();
if (activeSubmoduleIdx == -1) {
if (m_activeGitDirPath != m_topLevelGitPath) {
m_activeGitDirPath = m_topLevelGitPath;
updateStatus();
}
return;
}
......
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