diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2012-03-09 20:13:51 +0000 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2012-03-09 20:13:51 +0000 |
commit | 9a62bb565f2ca0f6c071b3593f47a54753abb1aa (patch) | |
tree | f61b9e0eccd51e260d0152a710911321b3d49d91 | |
parent | 550fc530abe739f7e9b64ccb21244a01b7cc5734 (diff) |
fix issue #389
closes #389
-rw-r--r-- | alot/ui.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -256,7 +256,8 @@ class UI(object): """ newpile = self.notificationbar.widget_list for l in messages: - newpile.remove(l) + if l in newpile: + newpile.remove(l) if newpile: self.notificationbar = urwid.Pile(newpile) else: |