Mercurial > octave-dspies
changeset 15992:c4c46e1a086b
gui: switch to console when running an editor file or a command from history
* main-window.cc (handle_command_double_clicked): focus console window
author | Torsten <ttl@justmail.de> |
---|---|
date | Sat, 02 Feb 2013 09:17:26 +0100 |
parents | 9cb64bafa7bd |
children | 41471c02d51c |
files | libgui/src/main-window.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/src/main-window.cc Fri Feb 01 16:35:41 2013 -0500 +++ b/libgui/src/main-window.cc Sat Feb 02 09:17:26 2013 +0100 @@ -166,7 +166,7 @@ main_window::handle_command_double_clicked (const QString& command) { _terminal->sendText (command); - _terminal->setFocus (); + focus_command_window (); } void