summaryrefslogtreecommitdiff
path: root/src/ui/documentwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r--src/ui/documentwidget.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index 030a323b..cb530e9b 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -140,6 +140,9 @@ static void updateSource_DocumentWidget_(iDocumentWidget *d) {
140 deinit_String(&str); 140 deinit_String(&str);
141 updateVisible_DocumentWidget_(d); 141 updateVisible_DocumentWidget_(d);
142 refresh_Widget(as_Widget(d)); 142 refresh_Widget(as_Widget(d));
143 setTitle_Window(get_Window(),
144 !isEmpty_String(title_GmDocument(d->doc)) ? title_GmDocument(d->doc)
145 : collectNewCStr_String("Lagrange"));
143} 146}
144 147
145static void fetch_DocumentWidget_(iDocumentWidget *d) { 148static void fetch_DocumentWidget_(iDocumentWidget *d) {