From 5be2f6157bd390b0415de652be83687ad0d1a38b Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Tue, 6 Apr 2021 09:29:59 +0300 Subject: Several fixes. --- .../PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs') diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs index 2d6ffeb04..6ef2f946b 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs @@ -1690,7 +1690,7 @@ namespace Tango.PPC.Common.MachineUpdate protected virtual void UpdateProgress(String name, String message = "", bool isIntermediate = true, double progress = 0, double total = 0) { - InvokeUINow(() => + InvokeUI(() => { Status = new MachineUpdateProgress() { @@ -1703,8 +1703,6 @@ namespace Tango.PPC.Common.MachineUpdate Progress?.Invoke(this, Status); }); - - UIHelper.DoEvents(); } #endregion -- cgit v1.3.1