From 3db3d1deb00f490c69d1ea895b7f92e33cbf5369 Mon Sep 17 00:00:00 2001 From: Ly-sec Date: Sun, 24 Aug 2025 16:56:09 +0200 Subject: [PATCH] Close ArchUpdaterPanel when clicking on the update buttons --- Modules/ArchUpdaterPanel/ArchUpdaterPanel.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Modules/ArchUpdaterPanel/ArchUpdaterPanel.qml b/Modules/ArchUpdaterPanel/ArchUpdaterPanel.qml index dbf0f59..d89e511 100644 --- a/Modules/ArchUpdaterPanel/ArchUpdaterPanel.qml +++ b/Modules/ArchUpdaterPanel/ArchUpdaterPanel.qml @@ -199,6 +199,7 @@ NPanel { enabled: !ArchUpdaterService.updateInProgress onClicked: { ArchUpdaterService.runUpdate() + root.close() } colorBg: ArchUpdaterService.updateInProgress ? Color.mSurfaceVariant : Color.mPrimary colorFg: ArchUpdaterService.updateInProgress ? Color.mOnSurfaceVariant : Color.mOnPrimary @@ -213,6 +214,7 @@ NPanel { onClicked: { if (ArchUpdaterService.selectedPackagesCount > 0) { ArchUpdaterService.runSelectiveUpdate() + root.close() } } colorBg: ArchUpdaterService.updateInProgress ? Color.mSurfaceVariant : (ArchUpdaterService.selectedPackagesCount