Rename KEY_RETURN to KEY_ENTER and KEY_ENTER to KEY_KP_ENTER

Closes #7695
This commit is contained in:
Bojidar Marinov
2017-08-06 16:26:07 +03:00
parent 97e942dd42
commit 7b7c7c8dc0
18 changed files with 33 additions and 33 deletions

View File

@ -42,8 +42,8 @@ void EditorNameDialog::_line_gui_input(const Ref<InputEvent> &p_event) {
return;
switch (k->get_scancode()) {
case KEY_ENTER:
case KEY_RETURN: {
case KEY_KP_ENTER:
case KEY_ENTER: {
if (get_hide_on_ok())
hide();