mirror of
https://github.com/godotengine/godot.git
synced 2024-11-23 12:43:43 +00:00
Fix for a scripts panel state not being saved when toggle button is used
This commit is contained in:
parent
36e6207bb4
commit
ddcaf365ea
@ -1587,6 +1587,7 @@ void CodeTextEditor::_set_show_warnings_panel(bool p_show) {
|
||||
void CodeTextEditor::_toggle_scripts_pressed() {
|
||||
ERR_FAIL_NULL(toggle_scripts_list);
|
||||
toggle_scripts_list->set_visible(!toggle_scripts_list->is_visible());
|
||||
EditorSettings::get_singleton()->set_project_metadata("scripts_panel", "show_scripts_panel", toggle_scripts_list->is_visible());
|
||||
update_toggle_scripts_button();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user