From 79c9f2bbd99dd57c585cbf9fd3f09a532a8e249f Mon Sep 17 00:00:00 2001 From: 0x2CA <2478557459@qq.com> Date: Wed, 9 Apr 2025 08:09:34 +0800 Subject: [PATCH] editor: Fix invalid read-only with split pane (#28012) Closes #28004 Release Notes: - Fixed invalid read-only with split pane --- crates/editor/src/editor.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index 4e5750ab64..cee1741ad9 100644 --- a/crates/editor/src/editor.rs +++ b/crates/editor/src/editor.rs @@ -1262,6 +1262,7 @@ impl Editor { clone.selections.clone_state(&self.selections); clone.scroll_manager.clone_state(&self.scroll_manager); clone.searchable = self.searchable; + clone.read_only = self.read_only; clone }