From c75376f1dff385cb66bdbae5552e05bd436cb8a5 Mon Sep 17 00:00:00 2001 From: wmorgan Date: Wed, 14 Nov 2007 17:03:38 +0000 Subject: [PATCH] bugfix in hide_thread git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@703 5c8cc53c-5e98-4d25-b20a-d8db53a31250 --- lib/sup/modes/thread-index-mode.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sup/modes/thread-index-mode.rb b/lib/sup/modes/thread-index-mode.rb index a79dc54..10abfaf 100644 --- a/lib/sup/modes/thread-index-mode.rb +++ b/lib/sup/modes/thread-index-mode.rb @@ -477,9 +477,9 @@ protected def hide_thread t @mutex.synchronize do + i = @threads.index(t) or return raise "already hidden" if @hidden_threads[t] @hidden_threads[t] = true - i = @threads.index t @threads.delete_at i @size_widgets.delete_at i @tags.drop_tag_for t -- 2.45.2