cvfosammmm / Setzer

LaTeX editor written in Python with Gtk
https://www.cvfosammmm.org/setzer/
Other
391 stars 35 forks source link

Fix for Saving on Close Confirmation #374

Closed kinten108101 closed 11 months ago

kinten108101 commented 11 months ago

When there are multiple unsaved changes across files, CloseConfirmationDialog will present a list of files that need saving. This list is a GtkListBox. The problem is that, to get all row entries, the method get_children was used, which does not exist. The save operation will fail. Apparently this bug has been sitting here for quite some times.

Fix is to manually retrieve each row entry with get_row_at_index.

cvfosammmm commented 11 months ago

Thanks!