Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

[FileDialog] Sync "show hidden file" button state when toggled by shortcut.

Pāvels Nadtočajevs260f40bff00f
diff --git a/scene/gui/file_dialog.cpp b/scene/gui/file_dialog.cpp
index 06c1f4444c1..0d016a75835 100644
--- a/scene/gui/file_dialog.cpp
+++ b/scene/gui/file_dialog.cpp
@@ -2274,6 +2274,7 @@ void FileDialog::set_show_hidden_files(bool p_show) {
if (show_hidden_files == p_show) {
return;
}
+ show_hidden->set_pressed_no_signal(p_show);
show_hidden_files = p_show;
invalidate();
}