diff --git a/Switcheroo/MainWindow.xaml.cs b/Switcheroo/MainWindow.xaml.cs index 0e1e4d8c..7fa2f926 100644 --- a/Switcheroo/MainWindow.xaml.cs +++ b/Switcheroo/MainWindow.xaml.cs @@ -344,7 +344,7 @@ private void CloseWindow(object sender, ExecutedRoutedEventArgs e) { if (lb.Items.Count > 0) { - Hide(); + HideWindow(); AppWindow win = (AppWindow)lb.SelectedItem; win.PostClose(); win.SwitchTo();