Skip to content
GitLab
Menu
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
2d772f8d
Commit
2d772f8d
authored
Feb 16, 2021
by
Waqar Ahmed
Browse files
Always expand stage node
parent
56425ba1
Changes
1
Hide whitespace changes
Inline
Side-by-side
addons/project/gitwidget.cpp
View file @
2d772f8d
...
...
@@ -394,6 +394,7 @@ void GitWidget::gitStatusReady(int exit, QProcess::ExitStatus)
void
GitWidget
::
hideEmptyTreeNodes
()
{
const
auto
emptyRows
=
m_model
->
emptyRows
();
m_treeView
->
expand
(
m_model
->
getModelIndex
((
GitStatusModel
::
NodeStage
)));
// 1 because "Staged" will always be visible
for
(
int
i
=
1
;
i
<
4
;
++
i
)
{
if
(
emptyRows
.
contains
(
i
))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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