]> git.cworth.org Git - sup/commitdiff
when editing a draft, just jump right in to the edit
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Sat, 30 Dec 2006 23:40:46 +0000 (23:40 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Sat, 30 Dec 2006 23:40:46 +0000 (23:40 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@128 5c8cc53c-5e98-4d25-b20a-d8db53a31250

lib/sup/modes/thread-view-mode.rb

index 59cc532bc3f4be1dc20582cc053dd7290c588d09..23a359131a9620ccdd6c2319c3a8f750d5fdd455 100644 (file)
@@ -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