Skip to content

Commit

Permalink
Properly close popups for nested progress callbacks (bsc#1223281)
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed May 6, 2024
1 parent f654b71 commit 7f58aef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/packages/src/modules/PackageCallbacks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 7f58aef

Please sign in to comment.