keyboard: fix backspace (#21602)

* fix styling and backspace

* global for InputDialog

* revert
old-commit-hash: 0df9287b7f
commatwo_master
sshane 4 years ago committed by GitHub
parent 6c8e27c062
commit 6817770887
  1. 2
      selfdrive/ui/qt/widgets/keyboard.cc

@ -120,7 +120,7 @@ void Keyboard::handleButton(QAbstractButton* btn) {
if (!QString::compare(key, "#+=")) {
main_layout->setCurrentIndex(3);
}
if (!QString::compare(key, BACKSPACE_KEY)) {
if (!QString::compare(key, ENTER_KEY)) {
main_layout->setCurrentIndex(0);
}
if ("A" <= key && key <= "Z") {

Loading…
Cancel
Save