summaryrefslogtreecommitdiff
path: root/alot/ui.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/ui.py')
-rw-r--r--alot/ui.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/alot/ui.py b/alot/ui.py
index 0fa94bc9..6f6d29ed 100644
--- a/alot/ui.py
+++ b/alot/ui.py
@@ -29,6 +29,8 @@ class UI(object):
"""points to currently active :class:`~alot.buffers.Buffer`"""
dbman = None
"""Database Manager (:class:`~alot.db.manager.DBManager`)"""
+ db_was_locked = False
+ """flag used to prevent multiple 'index locked' notifications"""
mode = 'global'
"""interface mode identifier - type of current buffer"""
commandprompthistory = []