Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/15/10 03:13:43 (14 years ago)
Author:
swagner
Message:

Fixed exception which was thrown when hiding views while the execution time is updated (#1148)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/AlgorithmView.cs

    r4102 r4216  
    147147        Invoke(new EventHandler(Content_ExecutionTimeChanged), sender, e);
    148148      else
    149         executionTimeTextBox.Text = Content.ExecutionTime.ToString();
     149        executionTimeTextBox.Text = Content == null ? "-" : Content.ExecutionTime.ToString();
    150150    }
    151151    protected virtual void Content_StoreAlgorithmInEachRunChanged(object sender, EventArgs e) {
Note: See TracChangeset for help on using the changeset viewer.