diff options
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Modules')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.UI/Modules/DefaultPPCModuleLoader.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Modules/DefaultPPCModuleLoader.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/Modules/DefaultPPCModuleLoader.cs index d0f6484ab..14f9db927 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Modules/DefaultPPCModuleLoader.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Modules/DefaultPPCModuleLoader.cs @@ -97,8 +97,8 @@ namespace Tango.PPC.UI.Modules } else { - LogManager.Log(String.Format("Loading module '{0}'...", nameof(JobsModule))); - AllModules.Add(new JobsModule()); + //LogManager.Log(String.Format("Loading module '{0}'...", nameof(JobsModule))); + //AllModules.Add(new JobsModule()); } //Preloaded @@ -142,7 +142,7 @@ namespace Tango.PPC.UI.Modules if (settings.UseJobsModuleV2) { - var legacyJobsModule = AllModules.SingleOrDefault(x => x.GetType() == typeof(JobsModule)); + var legacyJobsModule = AllModules.SingleOrDefault(x => x.GetType().Name == "JobsModule"); AllModules.Remove(legacyJobsModule); } else |
