- Timestamp:
- 10/09/14 16:59:34 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Scripting.Views/3.3/ScriptView.cs
r11171 r11436 45 45 } 46 46 47 public override bool ReadOnly { 48 get { return codeEditor.ReadOnly; } 49 set { codeEditor.ReadOnly = value; } 50 } 51 52 public override bool Locked { 53 get { return codeEditor.ReadOnly; } 54 set { codeEditor.ReadOnly = value; } 55 } 56 47 57 protected override void RegisterContentEvents() { 48 58 base.RegisterContentEvents(); … … 83 93 base.SetEnabledStateOfControls(); 84 94 compileButton.Enabled = Content != null && !Locked && !ReadOnly; 85 codeEditor.Enabled = Content != null && !Locked && !ReadOnly;95 codeEditor.Enabled = Content != null; 86 96 } 87 97
Note: See TracChangeset
for help on using the changeset viewer.