changeset 23146:f268b33a96d3 stable

connect editors execute command signal to the required slot (bug #50171) * file-editor.cc: connect execute_command_in_terminal_signal to the related slot in main_window
author Torsten <ttl@justmail.de>
date Sat, 04 Feb 2017 15:15:33 +0100
parents d99584de7d72
children d133d90b495a
files libgui/src/m-editor/file-editor.cc
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor.cc	Sat Feb 04 13:10:51 2017 +0100
+++ b/libgui/src/m-editor/file-editor.cc	Sat Feb 04 15:15:33 2017 +0100
@@ -2141,6 +2141,9 @@
            f, SLOT (do_breakpoint_marker (bool, const QWidget*, int,
                                           const QString&)));
 
+  connect (this, SIGNAL (execute_command_in_terminal_signal (const QString&)),
+           main_win (), SLOT (execute_command_in_terminal (const QString&)));
+
   _tab_widget->setCurrentWidget (f);
 
   check_actions ();