Bug fix related to closing windows
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user