mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-07 18:52:30 +00:00
Minor bugfixes to find-file interface etc.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@403 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -45,8 +45,6 @@ PathInput::pressed(int key) {
|
||||
|
||||
} else {
|
||||
receive_do_complete();
|
||||
|
||||
m_showNext = true;
|
||||
}
|
||||
|
||||
return true;
|
||||
@@ -100,7 +98,9 @@ PathInput::receive_do_complete() {
|
||||
mark_dirty();
|
||||
|
||||
// Only emit if there are more than one option.
|
||||
if (++utils::Directory::iterator(r.first) != r.second)
|
||||
m_showNext = ++utils::Directory::iterator(r.first) != r.second;
|
||||
|
||||
if (m_showNext)
|
||||
m_signalShowRange.emit(r.first, r.second);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user