Changeset 10642


Ignore:
Timestamp:
03/21/14 12:41:41 (6 years ago)
Author:
jkarder
Message:

#2136: fixed automatic selection of tabs (output window and error list)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Scripting.Views/3.3/ScriptView.cs

    r10506 r10642  
    161161              Content.Execute();
    162162              running = true;
    163             } else
    164               infoTabControl.SelectedTab = errorListTabPage;
     163            }
    165164          }
    166165          break;
     
    169168          break;
    170169        case Keys.F6:
    171           if (!Compile() || Content.CompileErrors.HasWarnings)
    172             infoTabControl.SelectedTab = errorListTabPage;
     170          Compile();
    173171          break;
    174172      }
     
    192190      } finally {
    193191        ShowCompilationResults();
     192        if (Content.CompileErrors.Count > 0)
     193          infoTabControl.SelectedTab = errorListTabPage;
    194194        ReadOnly = false;
    195195        Locked = false;
Note: See TracChangeset for help on using the changeset viewer.