summaryrefslogtreecommitdiff
path: root/alot/commands/thread.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-08-08 10:07:56 -0700
committerDylan Baker <dylan@pnwbakers.com>2018-08-08 10:07:56 -0700
commitabf2df79f39caa97651a9ac92688c49a598dc977 (patch)
tree4afda635176cacad1c5a4c69bda358055f7f6d0f /alot/commands/thread.py
parentcd032bca1c4b062e2ef660e77d438a15d58e891e (diff)
commands/thread: Don't refresh after moving
For large threads (I can reproduce on threads with ~50 messages), changing messages can become quite slow, especially if there are a significant number of folded messages. Removing the call to refresh the body after moving seems to fix this. There may be side effects of this change, and it may be required in some cases, just not all of them.
Diffstat (limited to 'alot/commands/thread.py')
-rw-r--r--alot/commands/thread.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/alot/commands/thread.py b/alot/commands/thread.py
index 02a801d9..1c5ce622 100644
--- a/alot/commands/thread.py
+++ b/alot/commands/thread.py
@@ -1058,7 +1058,6 @@ class MoveFocusCommand(MoveCommand):
MoveCommand.apply(self, ui)
# TODO add 'next matching' if threadbuffer stores the original query
# TODO: add next by date..
- tbuffer.body.refresh()
@registerCommand(MODE, 'select')