From e80e450ee848b397d6d61c8c23ddd7de6dd3e5e4 Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Fri, 15 Jan 2016 21:19:16 +0100 Subject: F5 hotkey to refresh FileDialog/EditorFileDialog --- scene/gui/file_dialog.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scene/gui') diff --git a/scene/gui/file_dialog.cpp b/scene/gui/file_dialog.cpp index 5b57395e58..56b9260837 100644 --- a/scene/gui/file_dialog.cpp +++ b/scene/gui/file_dialog.cpp @@ -85,6 +85,10 @@ void FileDialog::_unhandled_input(const InputEvent& p_event) { } } break; + case KEY_F5: { + + invalidate(); + } break; default: { handled=false; } } -- cgit v1.2.3