Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/22/10 03:29:02 (14 years ago)
Author:
swagner
Message:

Continued work on adapting and refactoring HeuristicLab.Data according to the changes in HeuristicLab.Core (#95)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core.Views/3.3/NamedItemView.cs

    r2664 r2669  
    100100
    101101        // check if variable name was set successfully
    102         e.Cancel = !NamedItemBase.Name.Equals(nameTextBox.Text);
     102        e.Cancel = e.Cancel || !NamedItemBase.Name.Equals(nameTextBox.Text);
    103103        if (e.Cancel) {
    104104          MessageBox.Show(this, "\"" + nameTextBox.Text + "\" is not a valid name.", "Invalid Value", MessageBoxButtons.OK, MessageBoxIcon.Error);
Note: See TracChangeset for help on using the changeset viewer.