Home GnuPG
Diffusion GpgOL 79174ee7bff8

Clear selection after closing draft

Description

Clear selection after closing draft

* src/mailitem-events.cpp (CLOSE): Call clear selections after
closing  a draft.
* src/oomhelp.cpp, src/oomhelp.h (oom_clear_selections): New.

This avoids problems when a draft is saved and the same mail
is still selected in the explorer. Then it would go out of
sync between the encrypted data and the visible data. To
ensure that the real data is fetched correctly after decyption
we unselect the mail so users have to reselect it.

Details

Provenance
aheineckeAuthored on Feb 3 2022, 12:12 PM
Parents
rO61e57c5f6128: Fix spurious BUG debug output
Branches
Unknown
Tags
Unknown
Tasks
T5812: GpgOL: Draft encryption after modification no longer works