You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-04 17:04:49 +00:00
Fix for a scripts panel state not being saved when toggle button is used
This commit is contained in:
committed by
Thaddeus Crews
parent
b15a13eed3
commit
f14ed7e370
@@ -1672,6 +1672,7 @@ void CodeTextEditor::_set_show_warnings_panel(bool p_show) {
|
||||
void CodeTextEditor::_toggle_files_pressed() {
|
||||
ERR_FAIL_NULL(toggle_files_list);
|
||||
toggle_files_list->set_visible(!toggle_files_list->is_visible());
|
||||
EditorSettings::get_singleton()->set_project_metadata("files_panel", "show_files_panel", toggle_files_list->is_visible());
|
||||
update_toggle_files_button();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user