Code clean

This commit is contained in:
2dust
2026-04-26 19:24:57 +08:00
parent ae662a628d
commit 05e349e45c
18 changed files with 148 additions and 99 deletions
@@ -64,7 +64,10 @@ public partial class RoutingSettingWindow : WindowBase<RoutingSettingViewModel>
private void RoutingSettingWindow_Closing(object? sender, WindowClosingEventArgs e)
{
if (_closed) return;
if (_closed)
{
return;
}
// DomainStrategy is auto-saved reactively; just ensure the caller knows changes were made
if (ViewModel?.IsModified == true)