From 7f58aef5cde1f34ecd43d2cfd57cd704760cb6ce 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) --- library/packages/src/modules/PackageCallbacks.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(