Skip to content

Commit f14ed7e

Browse files
MichakromRepiteo
authored andcommitted
Fix for a scripts panel state not being saved when toggle button is used
1 parent b15a13e commit f14ed7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

editor/gui/code_editor.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1672,6 +1672,7 @@ void CodeTextEditor::_set_show_warnings_panel(bool p_show) {
16721672
void CodeTextEditor::_toggle_files_pressed() {
16731673
ERR_FAIL_NULL(toggle_files_list);
16741674
toggle_files_list->set_visible(!toggle_files_list->is_visible());
1675+
EditorSettings::get_singleton()->set_project_metadata("files_panel", "show_files_panel", toggle_files_list->is_visible());
16751676
update_toggle_files_button();
16761677
}
16771678

0 commit comments

Comments
 (0)