F5 hotkey to refresh FileDialog/EditorFileDialog

This commit is contained in:
Ignacio Etcheverry 2016-01-15 21:19:16 +01:00
parent ccbf8b42f4
commit e80e450ee8
2 changed files with 8 additions and 0 deletions

View file

@ -85,6 +85,10 @@ void FileDialog::_unhandled_input(const InputEvent& p_event) {
}
} break;
case KEY_F5: {
invalidate();
} break;
default: { handled=false; }
}

View file

@ -90,6 +90,10 @@ void EditorFileDialog::_unhandled_input(const InputEvent& p_event) {
}
} break;
case KEY_F5: {
invalidate();
} break;
default: { handled=false; }
}