Mercurial > hg > octave-lyh
diff libgui/src/main-window.h @ 15987:47a4c92924a7
gui: prevent error messages at start-up (regression from changeset 6c0fce0632a4)
* main-window.h: declaration of new function connect_visibility_changed ()
* main-window.cc (connect_visibility_changed): new function for connecting the
signales emitted when the visibility of a widget changes; this function must
be called after the main window is shown
* main-window.cc (construct): do not connect the signals here
* octave-gui.cc (octave_start_gui): call connect_visibility_changed () just
before calling application.exec ()
author | Torsten <ttl@justmail.de> |
---|---|
date | Tue, 29 Jan 2013 18:24:16 +0100 |
parents | 6c0fce0632a4 |
children | afc4e08f2143 |
line wrap: on
line diff