- Timestamp:
- 04/07/14 10:36:52 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Scripting.Views/3.3/ScriptView.cs
r10642 r10727 76 76 ReadOnly = true; 77 77 startStopButton.Image = VSImageLibrary.Stop; 78 toolTip.SetToolTip(startStopButton, "Stop (Shift+F5)"); 78 79 infoTabControl.SelectedTab = outputTabPage; 79 80 } … … 86 87 ReadOnly = false; 87 88 startStopButton.Image = VSImageLibrary.Play; 89 toolTip.SetToolTip(startStopButton, "Run (F5)"); 88 90 running = false; 89 91 var ex = e.Value; … … 156 158 switch (keyData) { 157 159 case Keys.F5: 158 if (Content != null && !Locked ) {160 if (Content != null && !Locked && !running) { 159 161 if (Compile()) { 160 162 outputTextBox.Clear(); … … 168 170 break; 169 171 case Keys.F6: 170 Compile();172 if (!running) Compile(); 171 173 break; 172 174 }
Note: See TracChangeset
for help on using the changeset viewer.