Browse Source

Revert "Deselect TextField with escape key."

This reverts commit 0563858b26.
tags/v2.0.0
Andrew Belt 3 years ago
parent
commit
c65636cc9d
1 changed files with 0 additions and 5 deletions
  1. +0
    -5
      src/ui/TextField.cpp

+ 0
- 5
src/ui/TextField.cpp View File

@@ -228,11 +228,6 @@ void TextField::onSelectKey(const SelectKeyEvent& e) {
}
e.consume(this);
}
// Escape
if (e.key == GLFW_KEY_ESCAPE && (e.mods & RACK_MOD_MASK) == 0) {
APP->event->setSelectedWidget(NULL);
e.consume(this);
}
// Tab
if (e.key == GLFW_KEY_TAB && (e.mods & RACK_MOD_MASK) == 0) {
if (nextField)


Loading…
Cancel
Save