diff libgui/src/main-window.cc @ 23160:50e3a3e962c0 stable

make editor save its widget settings again when octave quits * main-window.cc (construct): add the missing connection between the aboutToQuit signal and the editors save_settings slot
author Torsten <mttl@mailbox.org>
date Mon, 06 Feb 2017 20:53:39 +0100
parents 51b395d24782
children 6f2164303aac 3ac9f9ecfae5
line wrap: on
line diff
--- a/libgui/src/main-window.cc	Sun Feb 05 09:59:44 2017 -0800
+++ b/libgui/src/main-window.cc	Mon Feb 06 20:53:39 2017 +0100
@@ -1374,6 +1374,8 @@
       connect (qApp, SIGNAL (aboutToQuit ()),
                workspace_window, SLOT (save_settings ()));
       connect (qApp, SIGNAL (aboutToQuit ()),
+               editor_window, SLOT (save_settings ()));
+      connect (qApp, SIGNAL (aboutToQuit ()),
                this, SLOT (prepare_to_exit ()));
       connect (qApp, SIGNAL (aboutToQuit ()),
                shortcut_manager::instance, SLOT (cleanup_instance ()));