Fix crash in Control functions

This commit is contained in:
qarmin
2019-10-05 19:17:07 +02:00
parent d86c9ef2e6
commit 17344337a9
4 changed files with 34 additions and 0 deletions

View File

@ -637,6 +637,8 @@ bool FileDialog::is_mode_overriding_title() const {
void FileDialog::set_mode(Mode p_mode) {
ERR_FAIL_INDEX((int)p_mode, 5);
mode = p_mode;
switch (mode) {