Free cookie consent management tool by TermsFeed Policy Generator

Changeset 11471


Ignore:
Timestamp:
10/16/14 15:04:21 (9 years ago)
Author:
jkarder
Message:

#2262: allow invalid c# identifiers after label edits

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Scripting.Views/3.3/VariableStoreView.cs

    r11440 r11471  
    266266    private void variableListView_AfterLabelEdit(object sender, LabelEditEventArgs e) {
    267267      string name = e.Label;
    268       if (!string.IsNullOrEmpty(name) && SafeVariableNameRegex.IsMatch(name)) {
     268      if (!string.IsNullOrEmpty(name)) {
    269269        var variable = (KeyValuePair<string, object>)variableListView.Items[e.Item].Tag;
    270270        if (!Content.ContainsKey(name)) {
Note: See TracChangeset for help on using the changeset viewer.