summaryrefslogtreecommitdiff
path: root/alot/ui.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2012-01-11 15:36:54 +0000
committerPatrick Totzke <patricktotzke@gmail.com>2012-01-11 15:36:54 +0000
commit45b5c6fe1a5bd48761fd3c25ecfa5c46baae0dcb (patch)
tree14253c8bdfe160c4625d188801c110a1ef274926 /alot/ui.py
parent50cb4629974c582eb6254c66dc7147d5bd53c669 (diff)
remove call to self.exit in ui.update
in case no buffer is open
Diffstat (limited to 'alot/ui.py')
-rw-r--r--alot/ui.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/alot/ui.py b/alot/ui.py
index 21899dc9..8e1d7a1c 100644
--- a/alot/ui.py
+++ b/alot/ui.py
@@ -388,11 +388,6 @@ class UI(object):
# body
if self.current_buffer:
self.mainframe.set_body(self.current_buffer)
- else:
- # this happens iff update gets called during
- # initial command before a first buffer is displayed.
- # in compose, a prompt is cancelled
- self.exit()
# footer
lines = []