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:
rakshasa
2005-04-17 17:54:19 +00:00
parent f8bbf8bfad
commit 70a73ea441
8 changed files with 182 additions and 11 deletions
+3 -3
View File
@@ -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);
}