* Open outbox messages in a draft view window.
[modest] / src / modest-ui-actions.c
index e13fe00..57b50fa 100644 (file)
@@ -746,7 +746,8 @@ open_msg_cb (ModestMailOperation *mail_op,
 
        /* If the header is in the drafts folder then open the editor,
           else the message view window */
-       if (folder_type == TNY_FOLDER_TYPE_DRAFTS) {
+       if ((folder_type == TNY_FOLDER_TYPE_DRAFTS) ||
+           (folder_type == TNY_FOLDER_TYPE_OUTBOX)) {
                /* we cannot edit without a valid account... */
                if (!modest_account_mgr_has_accounts(modest_runtime_get_account_mgr(), TRUE)) {
                        run_account_setup_wizard(parent_win);