diff options
author | pazz <patricktotzke@gmail.com> | 2011-08-14 19:46:37 +0100 |
---|---|---|
committer | pazz <patricktotzke@gmail.com> | 2011-08-14 19:46:37 +0100 |
commit | 682a1a5cc1deca08b23e0f98f26fe6020254090d (patch) | |
tree | 684e23628b8fdcf4e059185d945f7455ddb174df /alot/command.py | |
parent | 56483689eb27fdac426d14f84bfac2662138b3a6 (diff) |
fix: issue with initial searches for *
for the searchstring '*' an orly? prompt is
hardcoded as these tend to take long. Prompts
don't work if the ui is not properly set up.
Diffstat (limited to 'alot/command.py')
-rw-r--r-- | alot/command.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/command.py b/alot/command.py index 711bfd88..3f7578a6 100644 --- a/alot/command.py +++ b/alot/command.py @@ -101,7 +101,7 @@ class SearchCommand(Command): def apply(self, ui): if self.query: - if self.query == '*': + if self.query == '*' and ui.current_buffer: s = 'really search for all threads? This takes a while..' if not ui.choice(s) == 'yes': return |