Changeset 17267
- Timestamp:
- 09/25/19 11:06:15 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Clients.Hive.JobManager/3.3/Views/HiveJobManagerView.cs
r17222 r17267 144 144 if (Content != null && Content.Jobs != null) { 145 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)) 146 var contentViews = MainFormManager.MainForm.Views.OfType<IContentView>() 147 .Where(v => v.Content == Content && v != this); 148 if (!contentViews.Any()) 148 149 Content.ClearHiveClient(); 149 150
Note: See TracChangeset
for help on using the changeset viewer.