From 4cf9cd72047bbb5a1c83255721870d29bbdb03f7 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Thu, 8 Feb 2018 13:11:43 +0200 Subject: Added new tech tables.. --- .../Modules/Tango.MachineStudio.Developer/Views/MainView.xaml | 2 +- .../Modules/Tango.MachineStudio.Developer/Views/MainView.xaml.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views') diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MainView.xaml b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MainView.xaml index 9f0927c63..4cbae2941 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MainView.xaml +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MainView.xaml @@ -1796,7 +1796,7 @@ - + diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MainView.xaml.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MainView.xaml.cs index 3922d80b2..d47a7ecb1 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MainView.xaml.cs +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MainView.xaml.cs @@ -106,9 +106,9 @@ namespace Tango.MachineStudio.Developer.Views private void OnDropAvailableGraph(object sender, DropEventArgs e) { - if (e.Draggable.DataContext is Graph) + if (e.Draggable.DataContext is TechMonitor) { - _vm.OnDropAvailableGraph(e.Draggable.DataContext as Graph); + _vm.OnDropAvailableGraph(e.Draggable.DataContext as TechMonitor); } } -- cgit v1.3.1