Merge pull request #3358 from neikeq/issue_1123
F5 hotkey to refresh FileDialog/EditorFileDialog
This commit is contained in:
commit
4481e8af5c
2 changed files with 8 additions and 0 deletions
|
@ -85,6 +85,10 @@ void FileDialog::_unhandled_input(const InputEvent& p_event) {
|
|||
}
|
||||
|
||||
} break;
|
||||
case KEY_F5: {
|
||||
|
||||
invalidate();
|
||||
} break;
|
||||
default: { handled=false; }
|
||||
}
|
||||
|
||||
|
|
|
@ -90,6 +90,10 @@ void EditorFileDialog::_unhandled_input(const InputEvent& p_event) {
|
|||
}
|
||||
|
||||
} break;
|
||||
case KEY_F5: {
|
||||
|
||||
invalidate();
|
||||
} break;
|
||||
default: { handled=false; }
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue