From 629bcc5a13af0d66f208e90f550ad0f639bfb731 Mon Sep 17 00:00:00 2001 From: Olaf Wintermann Date: Sun, 2 Aug 2026 16:47:32 +0200 Subject: [PATCH] fix note.load_content overrides fixed title --- application/note/src/note.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/application/note/src/note.rs b/application/note/src/note.rs index 26a353b..54b2176 100644 --- a/application/note/src/note.rs +++ b/application/note/src/note.rs @@ -218,7 +218,9 @@ impl Note { pub fn init_content(&mut self, content: NoteContentRet) { self.content_id = content.content_id; self.text.set(content.text.as_str()); - self.update_title(content.text.as_str(), false); + if !self.fixed_title { + self.update_title(content.text.as_str(), false); + } self.local_path = content.local_path; self.local_lastmodified = content.local_lastmodified; } -- 2.52.0