Skip to content

Commit

Permalink
fix the Quit App button
Browse files Browse the repository at this point in the history
  • Loading branch information
dovholuknf committed Jan 13, 2025
1 parent be0e038 commit 1f6f7f8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions DesktopEdge/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit 1f6f7f8

Please sign in to comment.