1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

F5 hotkey to refresh FileDialog/EditorFileDialog

This commit is contained in:
Ignacio Etcheverry
2016-01-15 21:19:16 +01:00
parent ccbf8b42f4
commit e80e450ee8
2 changed files with 8 additions and 0 deletions

View File

@@ -85,6 +85,10 @@ void FileDialog::_unhandled_input(const InputEvent& p_event) {
} }
} break; } break;
case KEY_F5: {
invalidate();
} break;
default: { handled=false; } default: { handled=false; }
} }

View File

@@ -90,6 +90,10 @@ void EditorFileDialog::_unhandled_input(const InputEvent& p_event) {
} }
} break; } break;
case KEY_F5: {
invalidate();
} break;
default: { handled=false; } default: { handled=false; }
} }