auto switch to console on Run

This commit is contained in:
Manindra Moharana
2013-08-17 18:42:53 +05:30
parent e51c376038
commit d640d64070

View File

@@ -160,6 +160,7 @@ public class DebugToolbar extends JavaToolbar {
break;
case DEBUG:
deditor.handleStop(); // Close any running sketches
deditor.showProblemListView(XQConsoleToggle.CONSOLE);
if (shift) {
Logger.getLogger(DebugToolbar.class.getName()).log(Level.INFO, "Invoked 'Run' toolbar button");
deditor.handleRun();