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);