Free cookie consent management tool by TermsFeed Policy Generator

Changeset 14172


Ignore:
Timestamp:
07/22/16 05:14:47 (8 years ago)
Author:
abeham
Message:

#2579: merged to stable

Location:
stable
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Problems.Programmable/3.3/MultiObjectiveProgrammableProblem.cs

    r12708 r14172  
    7171    private void RegisterEvents() {
    7272      ProblemScript.ProblemDefinitionChanged += (o, e) => OnProblemDefinitionChanged();
     73      ProblemScript.NameChanged += (o, e) => OnProblemScriptNameChanged();
    7374    }
    7475
     
    8081      OnOperatorsChanged();
    8182      OnReset();
     83    }
     84    protected override void OnNameChanged() {
     85      base.OnNameChanged();
     86      ProblemScript.Name = Name;
     87    }
     88    private void OnProblemScriptNameChanged() {
     89      Name = ProblemScript.Name;
    8290    }
    8391
  • stable/HeuristicLab.Problems.Programmable/3.3/SingleObjectiveProgrammableProblem.cs

    r12708 r14172  
    7474    private void RegisterEvents() {
    7575      ProblemScript.ProblemDefinitionChanged += (o, e) => OnProblemDefinitionChanged();
     76      ProblemScript.NameChanged += (o, e) => OnProblemScriptNameChanged();
    7677    }
    7778
     
    8384      OnOperatorsChanged();
    8485      OnReset();
     86    }
     87    protected override void OnNameChanged() {
     88      base.OnNameChanged();
     89      ProblemScript.Name = Name;
     90    }
     91    private void OnProblemScriptNameChanged() {
     92      Name = ProblemScript.Name;
    8593    }
    8694
Note: See TracChangeset for help on using the changeset viewer.