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/MachineSetup/MachineSetupManager.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs') diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs index 15902f629..45fd6c1b8 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs @@ -482,7 +482,7 @@ namespace Tango.PPC.Common.MachineSetup protected virtual void UpdateProgress(String name, String message = "", bool isIntermediate = true, double progress = 0, double total = 0) { - InvokeUINow(() => + InvokeUI(() => { Status = new MachineSetupProgress() { @@ -495,8 +495,6 @@ namespace Tango.PPC.Common.MachineSetup Progress?.Invoke(this, Status); }); - - UIHelper.DoEvents(); } #endregion -- cgit v1.3.1