mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-28 01:52:06 +08:00
keyboard: fix backspace (#21602)
* fix styling and backspace * global for InputDialog * revert old-commit-hash: 0df9287b7f28ea08a3d3c592acb4ae3a63c4f45a
This commit is contained in:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user