Bug fix related to closing windows

This commit is contained in:
2026-09-19 16:49:12 +03:00 Unverified
parent 8e3002f771
commit 2737ccc490
2 changed files with 16 additions and 3 deletions
+2 -1
View File
@@ -48,7 +48,8 @@ public partial class MainWindowViewModel(WindowListService windowListService, Wi
partial void OnSelectedWindowChanged(WindowInfo value)
{
(Width, Height) = _windowInteractionService.GetWindowSize(value.Hwnd);
if (value != null)
(Width, Height) = _windowInteractionService.GetWindowSize(value.Hwnd);
}
[ObservableProperty]