* Change save_settings call of main and viewer windows to
[modest] / src / widgets / modest-window-mgr.c
index 3995637..c49b026 100644 (file)
@@ -437,6 +437,11 @@ on_window_destroy (ModestWindow *window,
                }
        }
 
+       /* Save configuration state (TODO: why edit window does not require this function ?) */
+       if (!MODEST_IS_MSG_EDIT_WINDOW (window)) 
+               modest_window_save_state (MODEST_WINDOW(window));
+
+
        /* Unregister window */
        modest_window_mgr_unregister_window (self, window);