Changeset 17226 for branches/2521_ProblemRefactoring/HeuristicLab.Clients.Hive.JobManager/3.3/Views/HiveJobManagerView.cs
- Timestamp:
- 08/29/19 15:57:35 (5 years ago)
- Location:
- branches/2521_ProblemRefactoring
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring
- Property svn:mergeinfo changed
-
branches/2521_ProblemRefactoring/HeuristicLab.Clients.Hive.JobManager
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Clients.Hive.JobManager merged: 17180,17184,17221-17222
- Property svn:mergeinfo changed
-
branches/2521_ProblemRefactoring/HeuristicLab.Clients.Hive.JobManager/3.3/Views/HiveJobManagerView.cs
r16723 r17226 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-2019Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 143 143 protected override void OnClosed(FormClosedEventArgs e) { 144 144 if (Content != null && Content.Jobs != null) { 145 Content.ClearHiveClient(); 145 // clear hive client only if it is not displayed by any other content view (i.e. job manager) 146 var contentViews = MainFormManager.MainForm.Views.OfType<IContentView>(); 147 if (contentViews.All(x => x.Content != Content || x == this)) 148 Content.ClearHiveClient(); 149 146 150 Content = null; 147 151 }
Note: See TracChangeset
for help on using the changeset viewer.