summaryrefslogtreecommitdiff
path: root/scene/gui
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 /scene/gui
parent246c799c9b2a0c148cff405baa7bf17157fd81f9 (diff)
parente80e450ee848b397d6d61c8c23ddd7de6dd3e5e4 (diff)
Merge pull request #3358 from neikeq/issue_1123
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; }
}