aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModelLocator.cs
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2018-03-28 14:34:58 +0300
committerShlomo Hecht <shlomo@twine-s.com>2018-03-28 14:34:58 +0300
commit08bd4400dfd45245ae301b5cb28103322ddf865a (patch)
tree6cc7caf742e00e5746fe20401857fdc569b922a7 /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModelLocator.cs
parentbfbdac5a071e7aea068e6f4acd796e83e73cf970 (diff)
parent953fc4deb9d94a63afe07d66ccf78ff42f54c3bb (diff)
downloadTango-08bd4400dfd45245ae301b5cb28103322ddf865a.tar.gz
Tango-08bd4400dfd45245ae301b5cb28103322ddf865a.zip
SystemReset request
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModelLocator.cs')
-rw-r--r--Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModelLocator.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModelLocator.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModelLocator.cs
index 76c89000d..ef6923e27 100644
--- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModelLocator.cs
+++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModelLocator.cs
@@ -1,6 +1,7 @@
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Ioc;
using Microsoft.Practices.ServiceLocation;
+using Tango.MachineStudio.Logging.Navigation;
using Tango.MachineStudio.Logging.ViewModels;
namespace Tango.MachineStudio.Logging
@@ -18,6 +19,9 @@ namespace Tango.MachineStudio.Logging
{
ServiceLocator.SetLocatorProvider(() => SimpleIoc.Default);
SimpleIoc.Default.Register<MainViewVM>();
+
+ SimpleIoc.Default.Unregister<LoggingNavigationManager>();
+ SimpleIoc.Default.Register<LoggingNavigationManager>(() => new LoggingNavigationManager());
}
public static MainViewVM MainViewVM