# HG changeset patch # User Daniel J Sebald # Date 1523310360 18000 # Node ID df4e64464f380521414cc96036a6f98f54adb379 # Parent bd0631439f8c1e2d032b4a82dfb948103735e438 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. diff -r bd0631439f8c -r df4e64464f38 libgui/src/variable-editor.cc --- 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&)));