diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-05-24 15:44:21 +0300 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-05-24 15:44:21 +0300 |
| commit | 496d83d940efe71ec7cbadd59c08804f4671c480 (patch) | |
| tree | e707449fca989b6e519b92033557a8a2374e5fcc /Software/Visual_Studio/PPC | |
| parent | c5e790039126cfdb32fe8cf8fd90c39bc8eaf943 (diff) | |
| download | Tango-496d83d940efe71ec7cbadd59c08804f4671c480.tar.gz Tango-496d83d940efe71ec7cbadd59c08804f4671c480.zip | |
JobProgress Tester Utility for Vica.
Diffstat (limited to 'Software/Visual_Studio/PPC')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModelLocator.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModelLocator.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModelLocator.cs index 8b75b4517..95aed6c44 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModelLocator.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModelLocator.cs @@ -91,7 +91,7 @@ namespace Tango.PPC.UI TangoIOC.Default.Unregister<IFileSystemService>(); TangoIOC.Default.Unregister<IRemoteJobService>(); - if (App.StartupArgs.Contains("-webDebug")) + if (App.StartupArgs != null && App.StartupArgs.Contains("-webDebug")) { TangoIOC.Default.Register<PPCWebClient, PPCWebClient>(new PPCWebClient("http://localhost:1111", null)); } |
