Skip to content

Commit

Permalink
Add back in view block / unblock
Browse files Browse the repository at this point in the history
Ugh!
  • Loading branch information
FenPhoenix committed Apr 17, 2019
1 parent 165ffa7 commit d4771b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions AngelLoader/BusinessLogic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -766,6 +766,7 @@ void ReportProgress(ProgressReport pr)
}
else
{
View.BeginInvoke(new Action(View.Block));
ProgressBox.ProgressTask = ProgressPanel.ProgressTasks.ScanAllFMs;
ProgressBox.ShowProgressWindow(ProgressBox.ProgressTask, suppressShow: true);
}
Expand Down Expand Up @@ -963,6 +964,7 @@ void ReportProgress(ProgressReport pr)
}
finally
{
View.BeginInvoke(new Action(View.Unblock));
View.BeginInvoke(new Action(() => ProgressBox.HideThis()));
}

Expand Down

0 comments on commit d4771b9

Please sign in to comment.