diff --git a/panda/src/pgui/pgEntry.cxx b/panda/src/pgui/pgEntry.cxx index b6a86754d7..97d200f8e1 100644 --- a/panda/src/pgui/pgEntry.cxx +++ b/panda/src/pgui/pgEntry.cxx @@ -321,7 +321,7 @@ keystroke(const MouseWatcherParameter ¶m, bool background) { int keycode = param.get_keycode(); - if (!isascii(keycode) || isprint(keycode)) { + if ((!isascii(keycode) || isprint(keycode)) && keycode != '\t') { // A normal visible character. Add a new character to the text entry, // if there's room. if (!_candidate_wtext.empty()) {