Mercurial > octave
changeset 24834:6daf8a9bd1ed
hide floating variable widgets when variable editor is hidden
* variable-editor.cc (variable_dock_widget::variable_dock_widget): connect
visibilityChanged signal from variable editor to setVisible slot of the
variable widget
author | Torsten <mttl@mailbox.org> |
---|---|
date | Mon, 05 Mar 2018 07:48:37 +0100 |
parents | 7c88cf242111 |
children | c644c53c8d37 |
files | libgui/src/variable-editor.cc |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/src/variable-editor.cc Sat Mar 03 09:34:16 2018 -0500 +++ b/libgui/src/variable-editor.cc Mon Mar 05 07:48:37 2018 +0100 @@ -103,6 +103,8 @@ this, SLOT (change_existence (bool))); connect (this, SIGNAL (topLevelChanged(bool)), this, SLOT (toplevel_change (bool))); + connect (p, SIGNAL (visibilityChanged (bool)), + this, SLOT (setVisible (bool))); } // slot for (un)dock action