Skip to content

Commit

Permalink
refactor(client/progress): allow all progress bars to be cancelled
Browse files Browse the repository at this point in the history
canCancel should really only apply to user-input.
  • Loading branch information
thelindat committed Jan 27, 2023
1 parent 5e4d36d commit f9a6d8c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions resource/interface/client/progress.lua
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,6 @@ end
function lib.cancelProgress()
if not progress then
error('No progress bar is active')
elseif not progress.canCancel then
error('Progress bar cannot be cancelled')
end

progress = false
Expand Down

0 comments on commit f9a6d8c

Please sign in to comment.