diff options
author | Anton Khirnov <anton@khirnov.net> | 2020-04-25 18:10:25 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2020-04-25 18:10:25 +0200 |
commit | a9e8f3271055740c9b96bb83483a09381f15312b (patch) | |
tree | d1f3f6dca6432571c74358e4eb4fe7151c0900a6 /alot/commands/globals.py | |
parent | 0c4e47fef27bf2d883dae3270faaef69a58a7067 (diff) |
buffer: drop the ui parameter when not needed
Diffstat (limited to 'alot/commands/globals.py')
-rw-r--r-- | alot/commands/globals.py | 4 |
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') |