Diffusion GpgOL 4c3e5b54f610

Ensure passNextWrite is reset after passing it

Authored by aheinecke on Jul 14 2019, 11:23 AM.

Description

Ensure passNextWrite is reset after passing it

* src/mailitem-events.cpp (Write): After passing a
write because of passNextWrite ensure that it is set back.

This is usually not a problem because the passWrite happens
only after closing with discard changes and usually an unload
follows. But if the mail is open multiple times it could
happen that the state here was broken.