aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_marks.cpp
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-31 12:08:42 +0100
committerDanilo M. <danix@danix.xyz>2026-10-31 12:08:42 +0100
commitb1f6660b9f1471659ead81cf527d13d93dd57146 (patch)
tree34ec1d186839c12a7288ad99c1f22f25b43b9d6f /tests/test_marks.cpp
parent3474936404df92ac08534c010aed94f97e6fca15 (diff)
downloadqtmaildir-b1f6660b9f1471659ead81cf527d13d93dd57146.tar.gz
qtmaildir-b1f6660b9f1471659ead81cf527d13d93dd57146.zip
feat: apply a saved rule to existing mail, confirmed and undoable
The dialog's Apply reaches MainWindow, which counts the messages the rule would actually move, confirms with that count, then writes through the worker. The rule is written one tag at a time inside one undo macro, because the worker's effective set is per message: a single +a -b write would make the undo strip a tag from messages that already had it. Each undo entry is filled from its own confirmation, so it reverts exactly what moved. Refused while a sync holds the write lock, checked again after the confirmation closes. Item 212. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'tests/test_marks.cpp')
0 files changed, 0 insertions, 0 deletions