Skip to content

Commit

Permalink
fix: label "No changes" to no more hiding first file of the list
Browse files Browse the repository at this point in the history
when opening "FormLog"
even if it was set as not visible.

Fixes #11679

Reproduce step: double click on a revision in the revision grid

Regression introduced by f8c0353
  • Loading branch information
pmiossec committed May 15, 2024
1 parent 778a4c9 commit f171308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GitUI/UserControls/FileStatusList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ private void SetFileStatusListVisibility(bool filesPresent)
{
LoadingFiles.Visible = false;
FilterComboBox.Visible = filesPresent || (SearchComboBox.Visible && !string.IsNullOrEmpty(SearchComboBox.Text));
NoFiles.Visible = !FilterComboBox.Visible;
NoFiles.Visible = !filesPresent;
if (NoFiles.Visible)
{
// Workaround for startup issue if set in EnableSearchForList()
Expand Down

0 comments on commit f171308

Please sign in to comment.