enhance: Save Preferences after switched Workspace and closed Preferences

This commit is contained in:
Gadfly 2025-03-10 11:58:27 +08:00
parent df6cbcaa28
commit ecf6fe436e
No known key found for this signature in database
2 changed files with 2 additions and 0 deletions

View file

@ -525,6 +525,7 @@ namespace SourceGit.ViewModels
}
_ignoreIndexChange = false;
Preferences.Instance.Save();
GC.Collect();
}