# HG changeset patch # User Daniel J Sebald # Date 1523251908 18000 # Node ID 4e79e324f441e2ed587fe1741933ab63855ebdbb # Parent f7a8adb5758c6b348954a5522171f9cfb0a9db90 Focus variable panel when Variable Editor comes from hidden state (bug #53443). * variable-editor.cc (variable_editor::edit_variable): Ensure that the Variable Editor is shown prior to doing the variable panel steps to focus. diff -r f7a8adb5758c -r 4e79e324f441 libgui/src/variable-editor.cc --- a/libgui/src/variable-editor.cc Mon Apr 09 08:58:17 2018 -0700 +++ b/libgui/src/variable-editor.cc Mon Apr 09 00:31:48 2018 -0500 @@ -1079,6 +1079,7 @@ } // Put existing variable in focus and raise + m_main->parentWidget ()->show (); existing_qdw->show (); existing_qdw->raise (); existing_qdw->activateWindow (); @@ -1181,6 +1182,7 @@ if (viewlist.size () == 1) m_tool_bar->setEnabled (true); + m_main->parentWidget ()->show (); page->show (); page->raise (); page->activateWindow ();