- Timestamp:
- 01/22/10 03:29:02 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core.Views/3.3/NamedItemView.cs
r2664 r2669 100 100 101 101 // 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); 103 103 if (e.Cancel) { 104 104 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.