Mercurial > octave
changeset 25000:7f1d1a1ca22e stable
Remove NoFocus policy from Variable Editor and restore highlight (bug #53410)
* variable_editor.cc (variable_editor::variable_editor): Remove all lines
regarding setFocusPolicy() thereby using the octave_dock_widget default.
author | Daniel J Sebald <daniel.sebald@ieee.org> |
---|---|
date | Wed, 21 Mar 2018 21:14:11 -0500 |
parents | 57d99b5e643a |
children | 6932ced4b2e2 64c6e8bfc9e5 |
files | libgui/src/variable-editor.cc |
diffstat | 1 files changed, 0 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/src/variable-editor.cc Mon Mar 26 13:32:36 2018 -0500 +++ b/libgui/src/variable-editor.cc Wed Mar 21 21:14:11 2018 -0500 @@ -995,15 +995,12 @@ set_title (tr ("Variable Editor")); setStatusTip (tr ("Edit variables.")); setWindowIcon (QIcon (":/actions/icons/logo.png")); - setFocusPolicy (Qt::NoFocus); setAttribute (Qt::WA_AlwaysShowToolTips); // Tool Bar. construct_tool_bar (); m_main->addToolBar (m_tool_bar); - m_main->setFocusPolicy (Qt::NoFocus); - setFocusPolicy (Qt::NoFocus); // Colors.