diff options
| author | Danilo M. <danix@danix.xyz> | 2026-08-12 11:53:46 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-08-12 11:53:46 +0200 |
| commit | 0afd62360ffa7f28bd24b7a37ddbe53456f94aa9 (patch) | |
| tree | 2776c369fd4ae12ec6f7e593ae6667a61617bdba /tests/test_messageview.cpp | |
| parent | 01ecb8c4e3bbf8176ca9d4085734ed2ec0774c80 (diff) | |
| download | qtmaildir-0afd62360ffa7f28bd24b7a37ddbe53456f94aa9.tar.gz qtmaildir-0afd62360ffa7f28bd24b7a37ddbe53456f94aa9.zip | |
feat(rules): a dialog to view and edit the tagging rules
Edits land on a working copy and reach the file only on Save. The
dialog never opens a notmuch database of its own: it publishes the
queries it wants counted and MainWindow runs them through the worker,
because the worker owns the only handle.
Two departures from the drafted version, both of which lost edits.
QPlainTextEdit has no editingFinished, so the note reached the working
copy only for whichever row was current at Save; it is driven from
textChanged instead, with the selection handler blocking the signal so
loading a rule cannot write itself back over the one now current. And
reloadList()'s setCurrentItem emits currentItemChanged, so New and Copy
repopulated the form from m_working before the pending edit had been
flushed into it.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'tests/test_messageview.cpp')
0 files changed, 0 insertions, 0 deletions
