fix: view not update after Close Other Tabs clicked

This commit is contained in:
leo 2024-06-11 17:04:28 +08:00
parent f977e76ea7
commit 7c79340cc1
No known key found for this signature in database
GPG key ID: B528468E49CD0E58

View file

@ -188,6 +188,7 @@ namespace SourceGit.ViewModels
} }
Pages = new AvaloniaList<LauncherPage> { ActivePage }; Pages = new AvaloniaList<LauncherPage> { ActivePage };
OnPropertyChanged(nameof(Pages));
GC.Collect(); GC.Collect();
} }