diff options
| author | Danilo M. <danix@danix.xyz> | 2026-08-14 18:02:38 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-08-14 18:02:38 +0200 |
| commit | 612eb64871de7e00f21a9b7ebf33d8179caa16bc (patch) | |
| tree | c92f928df38ae87fd233967301e01c6ef5b4dcd6 /src/messageview.cpp | |
| parent | 78b3a9c1769d37ff7344360b6fed66b12b2f0649 (diff) | |
| download | qtmaildir-612eb64871de7e00f21a9b7ebf33d8179caa16bc.tar.gz qtmaildir-612eb64871de7e00f21a9b7ebf33d8179caa16bc.zip | |
feat(search): push the query bar's emptiness into the panes
The menus cannot read the query bar and must not. MainWindow already
watched textChanged for the Save button; the same lambda now also tells
MessageView, which passes it to the details dialog at construction,
where it cannot go stale.
Nothing consumes it yet.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'src/messageview.cpp')
| -rw-r--r-- | src/messageview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messageview.cpp b/src/messageview.cpp index 26ef7e3..9dc5b36 100644 --- a/src/messageview.cpp +++ b/src/messageview.cpp @@ -631,7 +631,7 @@ void MessageView::showDetailsDialog() if (m_items.isEmpty()) return; - MessageDetailsDialog dialog(m_items, this); + MessageDetailsDialog dialog(m_items, m_hasQuery, this); // The dialog's searches are the pane's searches: one signal reaches the // window whichever surface the user used. |
