diff options
author | Jonas Suhr Christensen <jsc@umbraculum.org> | 2013-05-15 18:14:01 +0200 |
---|---|---|
committer | Jonas Suhr Christensen <jsc@umbraculum.org> | 2013-05-15 18:14:01 +0200 |
commit | 976ce209938be1bfc088d5f6cdd523a4089e1dd0 (patch) | |
tree | 8ef16aeefd3a4d9a675dc140c0daa84bdf8bb9b0 /plugingui/listboxbasic.cc | |
parent | b61c55a43c21a95234d79f6afd9a64964f5fffec (diff) |
Make it possible to type a path and have browser switch accordingly.
Diffstat (limited to 'plugingui/listboxbasic.cc')
-rw-r--r-- | plugingui/listboxbasic.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugingui/listboxbasic.cc b/plugingui/listboxbasic.cc index f0699c7..df7877d 100644 --- a/plugingui/listboxbasic.cc +++ b/plugingui/listboxbasic.cc @@ -144,6 +144,11 @@ std::string GUI::ListBoxBasic::selectedValue() return items[selected].value; } +void GUI::ListBoxBasic::clearSelectedValue() +{ + setSelection(-1); +} + void GUI::ListBoxBasic::registerClickHandler(void (*handler)(void *), void *ptr) { this->clk_handler = handler; |