fix: count strings correctly
This commit is contained in:
parent
cffcb4fad5
commit
15619d6d79
|
@ -68,7 +68,7 @@ namespace SoundFilter.Ui {
|
||||||
this._soundPaths.Add(this._newSoundPath);
|
this._soundPaths.Add(this._newSoundPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this._soundPaths.Count(sound => sound.Length > 0) > 0) {
|
if (this._soundPaths.Count(sound => !string.IsNullOrWhiteSpace(sound)) > 0) {
|
||||||
this.Save();
|
this.Save();
|
||||||
|
|
||||||
this._filterName = string.Empty;
|
this._filterName = string.Empty;
|
||||||
|
|
Loading…
Reference in New Issue