Merge pull request #3358 from neikeq/issue_1123

F5 hotkey to refresh FileDialog/EditorFileDialog
This commit is contained in:
Rémi Verschelde 2016-01-18 14:46:17 +01:00
commit 4481e8af5c
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; }
}