diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2019-03-05 12:33:28 +0200 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2019-03-05 12:33:28 +0200 |
| commit | 5be0a0a4ffc2ac388c56554b3c30ae7a57b6543b (patch) | |
| tree | 6f880229296266f176f397f0601c9bdef37a35e0 /Software/Visual_Studio/PPC/Modules/Tango.PPC.MachineSettings/ViewModels | |
| parent | e27873b9a6dd3c2e1dc46e59f90e66182566d4af (diff) | |
| parent | 81a806b65842bb63170f8091b7c1e2a621140e85 (diff) | |
| download | Tango-5be0a0a4ffc2ac388c56554b3c30ae7a57b6543b.tar.gz Tango-5be0a0a4ffc2ac388c56554b3c30ae7a57b6543b.zip | |
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/PPC/Modules/Tango.PPC.MachineSettings/ViewModels')
| -rw-r--r-- | Software/Visual_Studio/PPC/Modules/Tango.PPC.MachineSettings/ViewModels/MainViewVM.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.MachineSettings/ViewModels/MainViewVM.cs b/Software/Visual_Studio/PPC/Modules/Tango.PPC.MachineSettings/ViewModels/MainViewVM.cs index 7896367ec..246b86469 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.MachineSettings/ViewModels/MainViewVM.cs +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.MachineSettings/ViewModels/MainViewVM.cs @@ -119,7 +119,7 @@ namespace Tango.PPC.MachineSettings.ViewModels { Machine.SupportedJobTypes = SelectedJobTypes.SynchedSource.ToList(); Machine.SupportedColorSpaces = SelectedColorSpaces.SynchedSource.ToList(); - Machine.ShallowCopyTo(MachineProvider.Machine); + Machine.MapPrimitivesWithStringsNoNullsTo(MachineProvider.Machine); Settings.EnableHotSpot = EnableHotSpot; Settings.HotSpotPassword = HotSpotPassword; @@ -149,8 +149,8 @@ namespace Tango.PPC.MachineSettings.ViewModels { base.OnNavigatedTo(); - Machine = new Machine(); - MachineProvider.Machine.ShallowCopyTo(Machine); + Machine = MachineProvider.Machine.ShallowClone(); + RaisePropertyChanged(nameof(Machine)); _enableHotSpot = HotSpotProvider.IsEnabled; |
