Free cookie consent management tool by TermsFeed Policy Generator

Changeset 9097


Ignore:
Timestamp:
01/03/13 14:32:06 (10 years ago)
Author:
ascheibe
Message:

#1950

  • added missing SuppressEvents conditions
  • removed unnecessary check for stopRequested
Location:
trunk/sources
Files:
2 edited

Legend:

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

    r8994 r9097  
    434434
    435435    private void nameTextBox_Validated(object sender, EventArgs e) {
    436       if (Content.Job.Name != nameTextBox.Text)
     436      if (!SuppressEvents && Content.Job.Name != nameTextBox.Text)
    437437        Content.Job.Name = nameTextBox.Text;
    438438    }
    439439
    440440    private void resourceNamesTextBox_Validated(object sender, EventArgs e) {
    441       if (Content.Job.ResourceNames != resourceNamesTextBox.Text)
     441      if (!SuppressEvents && Content.Job.ResourceNames != resourceNamesTextBox.Text)
    442442        Content.Job.ResourceNames = resourceNamesTextBox.Text;
    443443    }
  • trunk/sources/HeuristicLab.Clients.Hive/3.3/JobResultPoller.cs

    r8869 r9097  
    9393          }
    9494
    95           if (stopRequested) {
    96             waitHandle.Close();
    97             IsPolling = false;
    98             return;
    99           }
     95          waitHandle.Close();
     96          IsPolling = false;
     97          return;
    10098        }
    10199        catch (Exception e) {
Note: See TracChangeset for help on using the changeset viewer.