Mercurial > octave
diff libgui/src/main-window.cc @ 29610:a46084c73b6d
eliminate more connections from variable editor signals to parent slots
* main-window.cc (main_window::main_window): Connect variable_editor
command_signal to main_window execute_command_in_terminal signal here.
* variable-editor.cc (variable_editor::variable_editor): Not here.
* variable-editor.cc (variable_editor::edit_variable): Connect
variable_editor::visibilityChanged signal to variable_dock_widget
setVisible slot here.
(variable_dock_widget::variable_dock_widget): Not here.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 04 May 2021 11:56:47 -0400 |
parents | b909a8915a72 |
children | d64ad3b93372 |
line wrap: on
line diff
--- a/libgui/src/main-window.cc Wed May 05 18:40:58 2021 +0200 +++ b/libgui/src/main-window.cc Tue May 04 11:56:47 2021 -0400 @@ -224,6 +224,9 @@ m_variable_editor_window = new variable_editor (this, m_octave_qobj); + connect (m_variable_editor_window, &variable_editor::command_signal, + this, &main_window::execute_command_in_terminal); + m_workspace_window = new workspace_view (this, m_octave_qobj); connect (m_workspace_window, &workspace_view::command_requested,