aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/textadept.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/textadept.c b/src/textadept.c
index b85dcabb..de24626e 100644
--- a/src/textadept.c
+++ b/src/textadept.c
@@ -293,6 +293,7 @@ void new_scintilla_buffer(ScintillaObject *sci, bool create, bool addref) {
}
l_set_buffer_global(sci);
l_handle_event("buffer_new");
+ l_handle_event("update_ui"); // update document status
}
/**