From: wmorgan Date: Sat, 30 Dec 2006 23:40:46 +0000 (+0000) Subject: when editing a draft, just jump right in to the edit X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=6d41d3bf6d0bc14aab5f5329c5a1f3856bf8e1ca;p=sup when editing a draft, just jump right in to the edit git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@128 5c8cc53c-5e98-4d25-b20a-d8db53a31250 --- diff --git a/lib/sup/modes/thread-view-mode.rb b/lib/sup/modes/thread-view-mode.rb index 59cc532..23a3591 100644 --- a/lib/sup/modes/thread-view-mode.rb +++ b/lib/sup/modes/thread-view-mode.rb @@ -143,6 +143,7 @@ class ThreadViewMode < LineCursorMode if m.is_draft? mode = ResumeMode.new m BufferManager.spawn "Edit message", mode + mode.edit else BufferManager.flash "Not a draft message!" end