From 67236d77579d0687011a0c6eb3d6fc72dc9f9792 Mon Sep 17 00:00:00 2001 From: rakshasa Date: Wed, 6 Nov 2013 23:22:54 +0900 Subject: [PATCH] Fixed an issue with input window. --- src/ui/download_list.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/download_list.cc b/src/ui/download_list.cc index 58f4646f..e3abc9ac 100644 --- a/src/ui/download_list.cc +++ b/src/ui/download_list.cc @@ -269,11 +269,11 @@ DownloadList::receive_view_input(Input type) { ElementStringList* esl = dynamic_cast(m_uiArray[DISPLAY_STRING_LIST]); input->signal_show_next().push_back(std::tr1::bind(&DownloadList::activate_display, this, DISPLAY_STRING_LIST)); - input->signal_show_next().push_back(std::tr1::bind(&ElementStringList::next_screen, *esl)); + input->signal_show_next().push_back(std::tr1::bind(&ElementStringList::next_screen, esl)); input->signal_show_range().push_back(std::tr1::bind(&DownloadList::activate_display, this, DISPLAY_STRING_LIST)); input->signal_show_range().push_back(std::tr1::bind(&ElementStringList::set_range_dirent, - *esl, + esl, std::tr1::placeholders::_1, std::tr1::placeholders::_2));