Mercurial > hg > octave-nkf
changeset 19634:d57edbd761aa gui-release
make sure the console window gets active custom style at beginning
* main-window.cc (construct): earlier connect to the focus changed signal
author | Torsten <ttl@justmail.de> |
---|---|
date | Mon, 29 Dec 2014 13:52:42 +0100 |
parents | 2f0c21339e9d |
children | 9c719c504e8d |
files | libgui/src/main-window.cc |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/src/main-window.cc +++ b/libgui/src/main-window.cc @@ -1275,6 +1275,9 @@ connect (qApp, SIGNAL (aboutToQuit ()), this, SLOT (prepare_to_exit ())); + connect (qApp, SIGNAL (focusChanged (QWidget*, QWidget*)), + this, SLOT(focus_changed (QWidget*, QWidget*))); + connect (this, SIGNAL (settings_changed (const QSettings *)), this, SLOT (notice_settings (const QSettings *))); @@ -1326,9 +1329,6 @@ construct_octave_qt_link (); - connect (qApp, SIGNAL (focusChanged (QWidget*, QWidget*)), - this, SLOT(focus_changed (QWidget*, QWidget*))); - #ifdef HAVE_QSCINTILLA connect (this, SIGNAL (insert_debugger_pointer_signal (const QString&, int)),