From 612eb64871de7e00f21a9b7ebf33d8179caa16bc Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 14 Aug 2026 18:02:38 +0200 Subject: 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 --- src/messageview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/messageview.cpp') 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. -- cgit v1.2.3