lib/sup/modes/thread_index_mode.rb in sup-0.22.1 vs lib/sup/modes/thread_index_mode.rb in sup-0.23
- old
+ new
@@ -694,10 +694,10 @@
break if @interrupt_search
end
@ts.threads.each { |th| th.labels.each { |l| LabelManager << l } }
update
- BufferManager.clear @mbid
+ BufferManager.clear @mbid if @mbid
@mbid = nil
BufferManager.draw_screen
@ts.size - orig_size
end
ignore_concurrent_calls :load_n_threads