summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2016-01-18 14:46:17 +0100
committerRémi Verschelde <remi@verschelde.fr>2016-01-18 14:46:17 +0100
commit4481e8af5c27dc899903be850858ea409ffc9dd8 (patch)
tree2cc2d9a4e7016fe122a84d97484b803503069bec /tools
parent246c799c9b2a0c148cff405baa7bf17157fd81f9 (diff)
parente80e450ee848b397d6d61c8c23ddd7de6dd3e5e4 (diff)
Merge pull request #3358 from neikeq/issue_1123
F5 hotkey to refresh FileDialog/EditorFileDialog
Diffstat (limited to 'tools')
-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; }
}