Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/15/15 16:39:12 (9 years ago)
Author:
gkronber
Message:

#2069: reviewing and minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode.Views/3.3/SolutionProgramView.cs

    r13011 r13013  
    2222using HeuristicLab.Core.Views;
    2323using HeuristicLab.MainForm;
    24 using HeuristicLab.Problems.GeneticProgramming.RoboCode;
     24using HeuristicLab.Problems.GeneticProgramming.Robocode;
    2525
    26 namespace HeuristicLab.Problems.GeneticProgramming.Views.RoboCode {
     26namespace HeuristicLab.Problems.GeneticProgramming.Views.Robocode {
    2727  [View("Robocode Tank Program Tree View")]
    2828  [Content(typeof(Solution), IsDefaultView = false)]
     
    3939    protected override void OnContentChanged() {
    4040      base.OnContentChanged();
    41       if (Content == null) {
    42         graphTreeView.Content = null;
    43       } else {
    44         graphTreeView.Content = Content.Tree;
    45       }
     41      graphTreeView.Content = Content == null ? null : Content.Tree;
    4642    }
    4743  }
Note: See TracChangeset for help on using the changeset viewer.