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.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MainView.xaml.cs') 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