--- lib/sup/modes/inbox-mode.rb | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/lib/sup/modes/inbox-mode.rb b/lib/sup/modes/inbox-mode.rb index ad3a864..852ddb7 100644 --- a/lib/sup/modes/inbox-mode.rb +++ b/lib/sup/modes/inbox-mode.rb @@ -66,9 +66,10 @@ class InboxMode < ThreadIndexMode return unless cursor_thread thread = cursor_thread # to make sure lambda only knows about 'old' cursor_thread + was_unread = thread.labels.member? :unread UndoManager.register "reading and archiving thread" do thread.apply_label :inbox - thread.apply_label :unread + thread.apply_label :unread if was_unread add_or_unhide thread.first end -- 1.6.5 _______________________________________________ Sup-devel mailing list Sup-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-devel