From 1f6f7f8dd7928c6b692097845db53041762c4326 Mon Sep 17 00:00:00 2001 From: dovholuknf <46322585+dovholuknf@users.noreply.github.com> Date: Mon, 13 Jan 2025 12:34:50 -0500 Subject: [PATCH] fix the Quit App button --- DesktopEdge/MainWindow.xaml.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/DesktopEdge/MainWindow.xaml.cs b/DesktopEdge/MainWindow.xaml.cs index 07718255..01cc9ea4 100644 --- a/DesktopEdge/MainWindow.xaml.cs +++ b/DesktopEdge/MainWindow.xaml.cs @@ -1868,9 +1868,7 @@ private void CloseError(object sender, RoutedEventArgs e) { }); } - private void CloseApp(object sender, RoutedEventArgs e) { - if (!UIUtils.IsLeftClick(e)) return; - if (!UIUtils.MouseUpForMouseDown(e)) return; + private void CloseApp(object sender, RoutedEventArgs e) { Application.Current.Shutdown(); }