Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
09bb868a
Commit
09bb868a
authored
Jul 26, 2022
by
Waqar Ahmed
Browse files
Gitwidget; Fix assert
parent
51166756
Pipeline
#209295
passed with stage
in 18 minutes and 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
addons/project/gitwidget.cpp
View file @
09bb868a
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment