Mercurial > octave-nkf
diff libgui/src/main-window.h @ 18155:14acb08d75fa gui-release
gui: optionally set focus to console when a command is run from another widget
* settings-dialog.ui: new checkbox for focus switching to console
* settings-dialog.cc (constructor): read new setting and init check box,
(write_changed_settings): write state from check box into settings file
* main-window.cc (focus_console_after_command): new functions checking
settings file for new settings,
(execute_command_in_terminal): focus console if desired,
(run_file_in_terminal): focus console if desired
* main-window.h: new function focus_console_after_command
author | Torsten <ttl@justmail.de> |
---|---|
date | Fri, 20 Dec 2013 16:13:20 +0100 |
parents | 8695fa048226 |
children | 545a77c3206e |
line wrap: on
line diff