summaryrefslogtreecommitdiff
path: root/editor/editor_help.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-11-12 23:39:17 +0100
committerGitHub <noreply@github.com>2021-11-12 23:39:17 +0100
commit5aae92f069b47c040d93e5edba2aad5b104fd1a5 (patch)
treee6d222c6488c1e4f1a9e4ffa68c1404473a00843 /editor/editor_help.cpp
parent4f85cad013c5469a39287e9aa474735f950e302c (diff)
parent3c0fdcc8acfadb124fbfa914532868948561c351 (diff)
Merge pull request #51684 from aaronfranke/enum-class
Diffstat (limited to 'editor/editor_help.cpp')
-rw-r--r--editor/editor_help.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_help.cpp b/editor/editor_help.cpp
index 43486a09a1..192f7fc598 100644
--- a/editor/editor_help.cpp
+++ b/editor/editor_help.cpp
@@ -2023,7 +2023,7 @@ void FindBar::unhandled_input(const Ref<InputEvent> &p_event) {
bool accepted = true;
switch (k->get_keycode()) {
- case KEY_ESCAPE: {
+ case Key::ESCAPE: {
_hide_bar();
} break;
default: {
@@ -2043,7 +2043,7 @@ void FindBar::_search_text_changed(const String &p_text) {
}
void FindBar::_search_text_submitted(const String &p_text) {
- if (Input::get_singleton()->is_key_pressed(KEY_SHIFT)) {
+ if (Input::get_singleton()->is_key_pressed(Key::SHIFT)) {
search_prev();
} else {
search_next();