Changeset 5124


Ignore:
Timestamp:
12/17/10 12:16:20 (10 years ago)
Author:
epitzer
Message:

Correctly select parent.tag instead of just parent when trying to show the actual value (#47)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.DebugEngine/3.3/OperationContentView.cs

    r5122 r5124  
    241241      if (param != null) {
    242242        string actualName = null;
    243         IExecutionContext context = executionContextTreeView.SelectedNode.Parent as IExecutionContext ?? Content.ExecutionContext;
     243        IExecutionContext context = executionContextTreeView.SelectedNode.Parent.Tag as IExecutionContext ?? Content.ExecutionContext;
    244244        MainFormManager.MainForm.ShowContent(GetParameterValue(param, context, out actualName) as IContent);
    245245      }
Note: See TracChangeset for help on using the changeset viewer.