# HG changeset patch # User Torsten # Date 1405882328 -7200 # Node ID d2100cb2331a867a320ea669ab5edc16efc75c7a # Parent b2c4d6d461f057d6854205d06349d9ea0c110854 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 diff -r b2c4d6d461f0 -r d2100cb2331a libgui/src/main-window.cc --- a/libgui/src/main-window.cc Sun Jul 20 20:44:30 2014 +0200 +++ b/libgui/src/main-window.cc Sun Jul 20 20:52:08 2014 +0200 @@ -1338,6 +1338,8 @@ editor_window->empty_script (true, false); #endif + focus_command_window (); // make sure that the command window has focus + }