mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-16 14:16:16 +00:00
Work on peer info display.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@260 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -77,14 +77,15 @@ DownloadList::receive_view_download() {
|
||||
if (m_focus == m_list->end())
|
||||
return;
|
||||
|
||||
if (m_download != NULL)
|
||||
throw std::logic_error("DownloadList::receive_view_download() called but m_download != NULL");
|
||||
|
||||
disable();
|
||||
|
||||
m_download = new Download(m_focus, m_control);
|
||||
m_download = new Download(&*m_focus, m_control);
|
||||
|
||||
m_download->get_bindings()[KEY_LEFT] = sigc::mem_fun(*this, &DownloadList::receive_exit_download);
|
||||
m_download->activate();
|
||||
|
||||
m_control->get_display().adjust_layout();
|
||||
m_download->get_bindings()[KEY_LEFT] = sigc::mem_fun(*this, &DownloadList::receive_exit_download);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user