Home GnuPG
Diffusion GpgOL bcedeb491315

Decrypt again after a draft was closed

Description

Decrypt again after a draft was closed

* src/mail.cpp (m_decrypt_again, isDecryptAgain, setDecryptAgain):
New state variable.
* src/mail.h: Update accordingly.
* src/mailitem-events.cpp (BeforeRead): Schedule
decrypt if a closed mail was before read again.
(Close): Mark closed drafts for potential decrypt again.
* src/windowmessage.cpp, src/windowmessages.h (DECRYPT): New.

This allows us to detach an inline editor draft, edit it,
close it and continue editing in the inline editor.

Details

Provenance
aheineckeAuthored on Apr 12 2019, 11:13 AM
Parents
rOc0caa127d136: Don't complain about empty drafts
Branches
Unknown
Tags
Unknown