Mercurial > octave
changeset 25190:df4e64464f38 stable
Add focus proxy for Variable Editor to prevent loss of variable focus (bug #53410)
* variable_editor.cc (variable_editor::variable_editor): Make the m_main
QMainWindow the proxy for the variable_editor object.
author | Daniel J Sebald <daniel.sebald@ieee.org> |
---|---|
date | Mon, 09 Apr 2018 16:46:00 -0500 |
parents | bd0631439f8c |
children | 09ddb785359e |
files | libgui/src/variable-editor.cc |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/src/variable-editor.cc Mon Apr 09 14:38:23 2018 -0700 +++ b/libgui/src/variable-editor.cc Mon Apr 09 16:46:00 2018 -0500 @@ -1029,6 +1029,7 @@ m_main->setCentralWidget (central_mdiarea); setWidget (m_main); + setFocusProxy (m_main); connect (this, SIGNAL (command_signal (const QString&)), p, SLOT (execute_command_in_terminal (const QString&)));