Free cookie consent management tool by TermsFeed Policy Generator

Changeset 3765


Ignore:
Timestamp:
05/11/10 13:13:34 (14 years ago)
Author:
mkommend
Message:

fixed context menu (ticket #867)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/OperatorGraphVisualization/OperatorGraphView.cs

    r3764 r3765  
    182182        this.initialToolStripMenuItem.Enabled = !ReadOnly && !Locked;
    183183        this.breakPointToolStripMenuItem.Checked = op.Breakpoint;
    184         this.breakPointToolStripMenuItem.Enabled = !ReadOnly && !Locked;
     184        this.breakPointToolStripMenuItem.Enabled = !Locked;
    185185      }
    186186    }
     
    199199
    200200    private void initialOperatorToolStripMenuItem_Click(object sender, EventArgs e) {
    201       if (!ReadOnly) {
    202201        IOperatorShapeInfo shapeInfo = this.shapeContextMenu.Tag as IOperatorShapeInfo;
    203202        if (this.VisualizationInfo.InitialShape == shapeInfo)
     
    205204        else
    206205          this.VisualizationInfo.InitialShape = shapeInfo;
    207       }
    208206    }
    209207
    210208    private void breakPointToolStripMenuItem_Click(object sender, EventArgs e) {
    211       if (!ReadOnly) {
    212209        IOperatorShapeInfo shapeInfo = this.shapeContextMenu.Tag as IOperatorShapeInfo;
    213210        if (shapeInfo != null) {
     
    215212          op.Breakpoint = !op.Breakpoint;
    216213        }
    217       }
    218214    }
    219215    #endregion
Note: See TracChangeset for help on using the changeset viewer.