Fix close to tray

This commit is contained in:
Bart De Vries 2023-11-28 12:58:36 +01:00
parent 2beb424e74
commit 74f52e6171
1 changed files with 1 additions and 1 deletions

View File

@ -495,7 +495,7 @@ Kirigami.ApplicationWindow {
Connections {
target: kastsMainWindow
function onClosing() {
function onClosing(close) {
if (SystrayIcon.available && SettingsManager.showTrayIcon && SettingsManager.minimizeToTray) {
close.accepted = false;
kastsMainWindow.hide();