sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 3dba566bd409c0125336482e1d60accc34ee170f
parent 2faf46026d3d7ba637718d5d1e34ceef845652f1
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date:   Wed, 30 May 2007 17:49:40 +0000

bugfix: 'a' with no threads

git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@424 5c8cc53c-5e98-4d25-b20a-d8db53a31250

Diffstat:
M lib/sup/modes/inbox-mode.rb | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/lib/sup/modes/inbox-mode.rb b/lib/sup/modes/inbox-mode.rb
@@ -15,6 +15,7 @@ class InboxMode < ThreadIndexMode
   def killable?; false; end
 
   def archive
+    return unless cursor_thread
     cursor_thread.remove_label :inbox
     hide_thread cursor_thread
     regen_text