pgui: Ignore PGEntry tab keypress

Closes #885
This commit is contained in:
Daniel 2020-03-20 02:44:59 +02:00 committed by rdb
parent 8178fb21f3
commit 1f05d37b20

View File

@ -203,6 +203,11 @@ press(const MouseWatcherParameter &param, bool background) {
ButtonHandle button = param.get_button();
if (button == KeyboardButton::tab()) {
// Tab. Ignore the entry.
return;
}
if (button == MouseButton::one() ||
button == MouseButton::two() ||
button == MouseButton::three() ||