mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-24 13:45:00 +00:00
enhance: do NOT show search suggestion if input string is empty (#775)
This commit is contained in:
parent
a52977baf3
commit
d1a1b4b2b9
1 changed files with 3 additions and 1 deletions
|
@ -137,6 +137,8 @@ namespace SourceGit.ViewModels
|
||||||
{
|
{
|
||||||
_revisionFiles.Clear();
|
_revisionFiles.Clear();
|
||||||
_revisionFiles.AddRange(files);
|
_revisionFiles.AddRange(files);
|
||||||
|
|
||||||
|
if (!string.IsNullOrEmpty(_revisionFileSearchFilter))
|
||||||
UpdateRevisionFileSearchSuggestion();
|
UpdateRevisionFileSearchSuggestion();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue