You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Update FileDialog button activity when file_mode is changed.
(cherry picked from commit cfac7c9a9a)
This commit is contained in:
committed by
Yuri Sizov
parent
5729e40035
commit
438a598713
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user