Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/18/13 15:11:41 (11 years ago)
Author:
ascheibe
Message:

#2005 fixed a small bug that occurred when closing the optimizer with an open hive job manager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Clients.Hive.JobManager/3.3/Views/HiveJobManagerView.cs

    r9223 r9224  
    119119
    120120    protected override void OnClosing(FormClosingEventArgs e) {
    121       if (Content.Jobs.Any(x => x.IsProgressing)) {
     121      if (Content != null && Content.Jobs.Any(x => x.IsProgressing)) {
    122122        DialogResult result = MessageBox.Show("There are still unfinished down/uploads. Are you sure you want to close the window?", "HeuristicLab Hive Job Manager", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
    123123
Note: See TracChangeset for help on using the changeset viewer.