mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-26 13:51:40 +00:00
UDBScript: the progress bar in the running script dialog now stops its animation when no progress was set and the script finished.
This commit is contained in:
parent
8992b66df5
commit
cfada3b4c9
1 changed files with 4 additions and 0 deletions
|
@ -208,6 +208,10 @@ namespace CodeImp.DoomBuilder.UDBScript
|
|||
btnAction.Text = "Close";
|
||||
btnAction.Enabled = true;
|
||||
|
||||
// Stop the progress bar from animating when the script finished
|
||||
if (progressbar.Style == ProgressBarStyle.Marquee)
|
||||
progressbar.Style = ProgressBarStyle.Continuous;
|
||||
|
||||
if (autoclose)
|
||||
{
|
||||
MakeInvisible();
|
||||
|
|
Loading…
Reference in a new issue