F5 hotkey to refresh FileDialog/EditorFileDialog
This commit is contained in:
parent
ccbf8b42f4
commit
e80e450ee8
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