mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-12-02 08:32:55 +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.Text = "Close";
|
||||||
btnAction.Enabled = true;
|
btnAction.Enabled = true;
|
||||||
|
|
||||||
|
// Stop the progress bar from animating when the script finished
|
||||||
|
if (progressbar.Style == ProgressBarStyle.Marquee)
|
||||||
|
progressbar.Style = ProgressBarStyle.Continuous;
|
||||||
|
|
||||||
if (autoclose)
|
if (autoclose)
|
||||||
{
|
{
|
||||||
MakeInvisible();
|
MakeInvisible();
|
||||||
|
|
Loading…
Reference in a new issue