summaryrefslogtreecommitdiff
path: root/scene/gui
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 /scene/gui
parentccbf8b42f4043735433603ef5bae26cd7a0d4bce (diff)
F5 hotkey to refresh FileDialog/EditorFileDialog
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/file_dialog.cpp4
1 files changed, 4 insertions, 0 deletions
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; }
}