comparison libgui/src/gui-preferences-global.h @ 29895:744bb06fea2a

avoid connecting non existing signals from variable editor * gui-preferences-global.h: define object name for main window * main-window.cc (main_window): set object name for main window * octave-dock-widget.cc (label_dock_widget::label_dock_widget): connect copy/paste/undo signals only if parent is the main window
author Torsten Lilge <ttl-octave@mailbox.org>
date Mon, 19 Jul 2021 20:09:56 +0200
parents 0b429d1a4974
children d4d83344d653
comparison
equal deleted inserted replaced
29894:2a14420440b8 29895:744bb06fea2a
25 25
26 #if ! defined (octave_gui_preferences_global_h) 26 #if ! defined (octave_gui_preferences_global_h)
27 #define octave_gui_preferences_global_h 1 27 #define octave_gui_preferences_global_h 1
28 28
29 #include "gui-preferences.h" 29 #include "gui-preferences.h"
30
31 // Constants
32
33 const QString gui_obj_name_main_window = "MainWindow";
30 34
31 // Global preferences 35 // Global preferences
32 36
33 // Get the default monospaced font 37 // Get the default monospaced font
34 #if defined (Q_OS_WIN) 38 #if defined (Q_OS_WIN)