#3938: mutt-1.8.2: Ctrl+g on delete message confirmation results in negative
sidebar counts
-----------------------+--------------------------------------
  Reporter:  jcdenton  |      Owner:  Kevin McCarthy <kevin@…>
      Type:  defect    |     Status:  closed
  Priority:  major     |  Milestone:
 Component:            |    Version:
Resolution:  fixed     |   Keywords:
-----------------------+--------------------------------------
Changes (by Kevin McCarthy <kevin@…>):

 * owner:   => Kevin McCarthy <kevin@…>
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"c08c72a0e24c36e2eeb768ff341bf9f88da95780"
 7033:c08c72a0e24c]:
 {{{
 #!CommitTicketReference repository=""
 revision="c08c72a0e24c36e2eeb768ff341bf9f88da95780"
 Fix sidebar count updates when closing mailbox. (closes #3938)

 The context unread and flagged counts were being updated too early in
 mx_close_mailbox().  Cancelling at any of the following prompts would
 leave them in an incorrect state.  Additionally, $move could increase
 the delete count (for flagged messages), and $delete, if answered no,
 could turn off message deletion.

 Move all the sidebar buffy stat updating to the bottom of the
 function, after all the prompts and processing.
 }}}

--
Ticket URL: <https://dev.mutt.org/trac/ticket/3938#comment:2>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to