Skip to content

Commit

Permalink
Fix progress box could have a "%" shown when it shouldn't
Browse files Browse the repository at this point in the history
  • Loading branch information
FenPhoenix committed Sep 22, 2019
1 parent dd8191e commit 510d8ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion AngelLoader/CustomControls/ProgressPanel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ internal void ShowProgressWindow(ProgressTasks progressTask, bool suppressShow =
progressTask == ProgressTasks.ScanAllFMs ? LText.ProgressBox.CheckingInstalledFMs
: "";

ProgressPercentLabel.Text = "";

if (progressTask == ProgressTasks.UninstallFM ||
progressTask == ProgressTasks.ConvertFiles ||
progressTask == ProgressTasks.ImportFromDarkLoader ||
Expand All @@ -73,7 +75,6 @@ internal void ShowProgressWindow(ProgressTasks progressTask, bool suppressShow =
{
ProgressBar.Style = ProgressBarStyle.Blocks;
ProgressCancelButton.Visible = progressTask != ProgressTasks.CacheFM;
ProgressPercentLabel.Text = "";
ProgressBar.SetValueInstant(0);
}

Expand Down

0 comments on commit 510d8ed

Please sign in to comment.