From 80c97c398b871c3e9421fde4f276bee4fd23a164 Mon Sep 17 00:00:00 2001 From: rakshasa Date: Sun, 2 Oct 2011 12:32:28 +0000 Subject: [PATCH] * Clearing out lots of old tickets and small bug reports. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1290 e378c898-3ddf-0310-93e7-cc216c733640 --- doc/rtorrent.rc | 6 ------ src/ui/element_file_list.cc | 3 +++ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/doc/rtorrent.rc b/doc/rtorrent.rc index bc567f0e..963082b2 100644 --- a/doc/rtorrent.rc +++ b/doc/rtorrent.rc @@ -33,12 +33,6 @@ # Close torrents when diskspace is low. #schedule = low_diskspace,5,60,close_low_diskspace=100M -# Stop torrents when reaching upload ratio in percent, -# when also reaching total upload in bytes, or when -# reaching final upload ratio in percent. -# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0 -#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000" - # The ip address reported to the tracker. #ip = 127.0.0.1 #ip = rakshasa.no diff --git a/src/ui/element_file_list.cc b/src/ui/element_file_list.cc index b8b4c965..4ba9b1df 100644 --- a/src/ui/element_file_list.cc +++ b/src/ui/element_file_list.cc @@ -251,7 +251,10 @@ ElementFileList::receive_select() { return; if (is_collapsed() && !m_selected.is_file()) { + torrent::FileList* fl = m_download->download()->file_list(); m_selected++; + if (m_selected == iterator(fl->end())) + m_selected = iterator(fl->begin()); m_window->mark_dirty(); } else { activate_display(DISPLAY_INFO);