summaryrefslogtreecommitdiff
path: root/tools/editor/editor_file_dialog.cpp
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2016-01-15 21:19:16 +0100
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2016-01-15 21:19:16 +0100
commite80e450ee848b397d6d61c8c23ddd7de6dd3e5e4 (patch)
tree459e435c1b690556ed0048a7a67ee24cda26923d /tools/editor/editor_file_dialog.cpp
parentccbf8b42f4043735433603ef5bae26cd7a0d4bce (diff)
F5 hotkey to refresh FileDialog/EditorFileDialog
Diffstat (limited to 'tools/editor/editor_file_dialog.cpp')
-rw-r--r--tools/editor/editor_file_dialog.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/editor/editor_file_dialog.cpp b/tools/editor/editor_file_dialog.cpp
index 22cd3845e1..a9b23767f1 100644
--- a/tools/editor/editor_file_dialog.cpp
+++ b/tools/editor/editor_file_dialog.cpp
@@ -90,6 +90,10 @@ void EditorFileDialog::_unhandled_input(const InputEvent& p_event) {
}
} break;
+ case KEY_F5: {
+
+ invalidate();
+ } break;
default: { handled=false; }
}