summaryrefslogtreecommitdiff
path: root/alot/commands/globals.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/commands/globals.py')
-rw-r--r--alot/commands/globals.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/alot/commands/globals.py b/alot/commands/globals.py
index 9051d61b..19bc0086 100644
--- a/alot/commands/globals.py
+++ b/alot/commands/globals.py
@@ -573,7 +573,7 @@ class TagListCommand(Command):
buf.rebuild()
ui.buffer_focus(buf)
else:
- ui.buffer_open(buffers.TagListBuffer(ui, tags, self.filtfun))
+ ui.buffer_open(buffers.TagListBuffer(tags, self.filtfun))
@registerCommand(MODE, 'namedqueries')
@@ -588,7 +588,7 @@ class NamedQueriesCommand(Command):
Command.__init__(self, **kwargs)
def apply(self, ui):
- ui.buffer_open(buffers.NamedQueriesBuffer(ui, self.filtfun))
+ ui.buffer_open(buffers.NamedQueriesBuffer(ui.dbman, self.filtfun))
@registerCommand(MODE, 'flush')