summaryrefslogtreecommitdiff
path: root/alot/commands/search.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/commands/search.py')
-rw-r--r--alot/commands/search.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/commands/search.py b/alot/commands/search.py
index f4e8efdc..9fe265cb 100644
--- a/alot/commands/search.py
+++ b/alot/commands/search.py
@@ -37,7 +37,7 @@ class OpenThreadCommand(Command):
query = ui.current_buffer.querystring
logging.info('open thread view for %s', self.thread)
- tb = buffers.ThreadBuffer(self.thread)
+ tb = buffers.ThreadBuffer(ui, self.thread)
ui.buffer_open(tb)
tb.focus_next_matching(query)