diff --git a/src/WindowResizer/TrayContext.cs b/src/WindowResizer/TrayContext.cs index 723e364..979a114 100644 --- a/src/WindowResizer/TrayContext.cs +++ b/src/WindowResizer/TrayContext.cs @@ -389,6 +389,7 @@ private void OnKeyPressed(object sender, KeyPressedEventArgs e) private void SaveAll() { var windows = Resizer.GetOpenWindows(); + ProfilesFactory.Current.WindowSizes.Clear(); foreach (var window in windows) { if (Resizer.GetWindowState(window) != WindowState.Minimized)