From 248d20db645a573a5eb57e81b3e3009ecfc1ff6d Mon Sep 17 00:00:00 2001 From: Mecso2 Date: Sun, 1 Mar 2026 17:52:42 +0100 Subject: [PATCH] make system close behave the same as close button --- crates/whis-desktop/ui/src/App.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/crates/whis-desktop/ui/src/App.vue b/crates/whis-desktop/ui/src/App.vue index 78f67c3..7bdef63 100644 --- a/crates/whis-desktop/ui/src/App.vue +++ b/crates/whis-desktop/ui/src/App.vue @@ -96,10 +96,7 @@ onMounted(async () => { }) // Listen for window close event (Alt+F4, system close, etc.) - await listen('window-close-requested', async () => { - await settingsStore.flush() - await getCurrentWindow().close() - }) + await listen('window-close-requested', closeWindow) })