Skip to content

Commit e9718d4

Browse files
committed
Merge pull request godotengine#98936 from Michakrom/toggle-scripts-panel-save-fix
Fix scripts panel state not being saved when toggle button is used
2 parents 45ce9f0 + f14ed7e commit e9718d4

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)