Free cookie consent management tool by TermsFeed Policy Generator

Changeset 12624


Ignore:
Timestamp:
07/07/15 09:14:24 (9 years ago)
Author:
abeham
Message:

#1985: small change to the cancel state

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/TimeLimitRunOptimizer/HeuristicLab.Optimization.Views/3.3/TimeLimitRunView.cs

    r12118 r12624  
    195195      TimeSpan ts;
    196196      if (!TimeSpanHelper.TryGetFromNaturalFormat(timeLimitTextBox.Text, out ts)) {
    197         e.Cancel = true;
     197        e.Cancel = !timeLimitTextBox.ReadOnly && timeLimitTextBox.Enabled;
    198198        errorProvider.SetError(timeLimitTextBox, "Please enter a valid time span, e.g. 20 seconds ; 45s ; 4min ; 1h ; 3 hours ; 2 days ; 4d");
    199199      } else {
Note: See TracChangeset for help on using the changeset viewer.