diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-09-14 16:49:01 +0300 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-09-14 16:49:01 +0300 |
| commit | 0e32cd5fb97c40624d5323cb265d070b2140d2bc (patch) | |
| tree | 816067dbc24cd56fee2b24d113be90e84e593fa1 /Software/Visual_Studio/MachineStudio/Modules | |
| parent | 13afc37417c9281f5fbaacd174fd151d793151eb (diff) | |
| download | Tango-0e32cd5fb97c40624d5323cb265d070b2140d2bc.tar.gz Tango-0e32cd5fb97c40624d5323cb265d070b2140d2bc.zip | |
Refactored SearchComboBox !!!
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/MainViewVM.cs | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/MainViewVM.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/MainViewVM.cs index 40710ea21..8f02749da 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/MainViewVM.cs +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/MainViewVM.cs @@ -1673,7 +1673,17 @@ namespace Tango.MachineStudio.Developer.ViewModels { await Task.Factory.StartNew(() => { - InvalidateLiquidFactorsAndProcessTables(); + try + { + IsFree = false; + InvalidateLiquidFactorsAndProcessTables(); + } + catch + {} + finally + { + IsFree = true; + } }); } } |
