Update FileDialog button activity when file_mode is changed.

This commit is contained in:
HolonProduction 2023-07-08 18:10:57 +02:00
parent c3b0a92c3c
commit cfac7c9a9a
1 changed files with 2 additions and 0 deletions

View File

@ -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 {