> @@ -531,6 +550,8 @@ void notebook_init(void)
>       /* in case the switch dialog misses an event while drawing the dialog */
>       g_signal_connect(main_widgets.window, "key-release-event", 
> G_CALLBACK(on_key_release_event), NULL);
>  
> +     g_signal_connect(geany_object, "document-open", 
> G_CALLBACK(on_document_open), NULL);

you probably also need to catch `document-save` in case the document has been 
saved as.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1144/files/4f219bdad24610e674da26cf2dc97d7d8a10b8c8#r71978431

Reply via email to