From: Olaf Wintermann Date: Sun, 9 Mar 2025 20:35:11 +0000 (+0100) Subject: fix note_content_loaded does not remember status X-Git-Url: https://uap-core.de/gitweb/?a=commitdiff_plain;h=bdc3820a2cc78655886a7690eaa1ddd426cd3cfc;p=note.git fix note_content_loaded does not remember status --- diff --git a/application/note.c b/application/note.c index 9b3cbc4..e571e30 100644 --- a/application/note.c +++ b/application/note.c @@ -82,6 +82,7 @@ static void note_content_loaded(UiEvent *event, cxmutstr result, void *userdata) if(note->model) { editor_load_markdown(note->model->text, result); } + note->content_loaded = TRUE; } void note_load_content(UiObject *obj, NotebookModel *notebook, Note *note) {