mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-11 12:42:31 +00:00
Work on an input field.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@272 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
|
||||
#include "manager.h"
|
||||
#include "bindings.h"
|
||||
#include "text_input.h"
|
||||
|
||||
namespace input {
|
||||
|
||||
@@ -21,6 +22,9 @@ Manager::erase(Bindings* b) {
|
||||
|
||||
void
|
||||
Manager::pressed(int key) {
|
||||
if (m_textInput != NULL && m_textInput->pressed(key))
|
||||
return;
|
||||
|
||||
std::find_if(begin(), end(), std::bind2nd(std::mem_fun(&Bindings::pressed), key));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user