]> git.neil.brown.name Git - edlib.git/commit
notmuch: clear self.query_pane before opening old query
authorNeilBrown <neil@brown.name>
Mon, 16 May 2022 10:37:29 +0000 (20:37 +1000)
committerNeilBrown <neil@brown.name>
Sat, 3 Sep 2022 06:49:08 +0000 (16:49 +1000)
commita3ae4cd24e6a81054983fa16b9aeded5592ae384
treefcb135ba3353c1156836b1e4597394cf13a23866
parent6f1a4fa42360d7a9c46f1607d6f1b199d856494a
notmuch: clear self.query_pane before opening old query

Opening an old query can cause the active message to be selected, which
calls doc:notmuch:open on query_pane.  But that could be the wrong
query_pane.
So avoid that be clearing query_pane early.

Signed-off-by: NeilBrown <neil@brown.name>
python/module-notmuch.py