aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Lazymail/Handlers.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Lazymail/Handlers.hs b/src/Lazymail/Handlers.hs
index 15dbf4c..15fd523 100644
--- a/src/Lazymail/Handlers.hs
+++ b/src/Lazymail/Handlers.hs
@@ -38,7 +38,7 @@ previousMode' MaildirMode = (=<<) put $ get >>= \st -> return st { exitRequested
previousMode' EmailMode = do
st <- get
if (triggerUpdateIn . indexState $ st)
- then advanceMode >> solveIndexUpdate
+ then advanceMode' MaildirMode >> solveIndexUpdate
else put $ st { mode = IndexMode }
previousMode' IndexMode = do
st <- get
nihil fit ex nihilo