From 7812c960fc097afc58678f0c2b5605cbf2db710d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ladislav=20Slez=C3=A1k?= Date: Mon, 6 May 2024 12:37:40 +0200 Subject: [PATCH] Properly close popups for nested progress callbacks (bsc#1223281) - 4.5.27 --- library/packages/src/modules/PackageCallbacks.rb | 2 +- package/yast2.changes | 6 ++++++ package/yast2.spec | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/library/packages/src/modules/PackageCallbacks.rb b/library/packages/src/modules/PackageCallbacks.rb index 28e843703..51e874a4c 100644 --- a/library/packages/src/modules/PackageCallbacks.rb +++ b/library/packages/src/modules/PackageCallbacks.rb @@ -2397,7 +2397,7 @@ def ProgressEnd(id) ) if !Mode.commandline && IsProgressPopup() - UI.CloseDialog if Builtins.size(@progress_stack) == 0 + UI.CloseDialog if Builtins.size(@progress_stack) >= 0 elsif full_screen if Ops.greater_than(Builtins.size(@progress_stack), 0) progress_type = Ops.get_symbol( diff --git a/package/yast2.changes b/package/yast2.changes index e4144b65f..a6878f72a 100644 --- a/package/yast2.changes +++ b/package/yast2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon May 6 13:08:32 UTC 2024 - Ladislav Slezák + +- Properly close nested progress callbacks (bsc#1223281) +- 4.5.27 + ------------------------------------------------------------------- Thu Feb 15 11:55:58 UTC 2024 - Stefan Hundhammer diff --git a/package/yast2.spec b/package/yast2.spec index 5cb0fb4aa..ebabe5e1a 100644 --- a/package/yast2.spec +++ b/package/yast2.spec @@ -17,7 +17,7 @@ Name: yast2 -Version: 4.5.26 +Version: 4.5.27 Release: 0 Summary: YaST2 Main Package