summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-08-12 11:53:46 +0200
committerDanilo M. <danix@danix.xyz>2026-08-12 11:53:46 +0200
commit0afd62360ffa7f28bd24b7a37ddbe53456f94aa9 (patch)
tree2776c369fd4ae12ec6f7e593ae6667a61617bdba /src/CMakeLists.txt
parent01ecb8c4e3bbf8176ca9d4085734ed2ec0774c80 (diff)
downloadqtmaildir-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 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 4df9adf..926f6a9 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -13,6 +13,7 @@ add_library(qtmaildir_lib STATIC
tagcolors.cpp
tagdialog.cpp
tagrules.cpp
+ tagrulesdialog.cpp
tagstrip.cpp
threadlistmodel.cpp
threadlistview.cpp