mirror of
https://github.com/godotengine/godot.git
synced 2025-04-07 00:44:24 +08:00
Merge pull request #79211 from HolonProduction/file-dialog-button-update
Update FileDialog button activity when file_mode is changed.
This commit is contained in:
commit
1017077b7f
@ -833,6 +833,8 @@ void FileDialog::set_file_mode(FileMode p_mode) {
|
||||
} else {
|
||||
tree->set_select_mode(Tree::SELECT_SINGLE);
|
||||
}
|
||||
|
||||
get_ok_button()->set_disabled(_is_open_should_be_disabled());
|
||||
}
|
||||
|
||||
FileDialog::FileMode FileDialog::get_file_mode() const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user