From 0087f1b8a8c2c84f94daa069659c6967643db1df Mon Sep 17 00:00:00 2001
From: Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
Date: Tue, 4 Mar 2025 14:06:10 -0500
Subject: [PATCH] UpdateDownloadDialog.qml: set `autoClose` to false

The `autoClose` property was set to the default value of `true`.
This causes an issue where if a user refocuses the Jami window, the
update dialog closes and cancels the update.

Gitlab: #1934
Change-Id: Ia7a90875702a0998de71133ed2215fb0583e161e
---
 src/app/settingsview/components/UpdateDownloadDialog.qml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/app/settingsview/components/UpdateDownloadDialog.qml b/src/app/settingsview/components/UpdateDownloadDialog.qml
index e95de2f7..b617c22d 100644
--- a/src/app/settingsview/components/UpdateDownloadDialog.qml
+++ b/src/app/settingsview/components/UpdateDownloadDialog.qml
@@ -34,6 +34,7 @@ SimpleMessageDialog {
     property alias progressBarValue: progressBar.value
 
     closeButtonVisible: false
+    autoClose: false
 
     button1.text: JamiStrings.optionCancel
     button1Role: DialogButtonBox.RejectRole
-- 
GitLab