changeset 19135:d2100cb2331a gui-release

make sure the command has focus at startup * main-window.cc (handle_octave_ready): set focus to command window after creating an empty script in the editor
author Torsten <ttl@justmail.de>
date Sun, 20 Jul 2014 20:52:08 +0200
parents b2c4d6d461f0
children 0be65bd7f369
files libgui/src/main-window.cc
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/src/main-window.cc
+++ b/libgui/src/main-window.cc
@@ -1338,6 +1338,8 @@
   editor_window->empty_script (true, false);
 #endif
 
+  focus_command_window ();  // make sure that the command window has focus
+
 }