fix: toggle Ignore All Whitespace Changes does not work when there is only whitespace changes (#1752)

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo
2025-08-21 09:15:44 +08:00
parent 7e415d45f8
commit 2da8a1d6bf

View File

@@ -22,9 +22,7 @@ namespace SourceGit.ViewModels
{
Preferences.Instance.IgnoreWhitespaceChangesInDiff = value;
OnPropertyChanged();
if (_isTextDiff)
LoadContent();
LoadContent();
}
}
}