Closed Doublonmousse closed 2 months ago
Thanks a lot! Adding filters()
before using default_filter()
is missing in several places in the code, do you want to fix this everywhere?
On it. For now I'm doing it kinda "naively" for the export part (meaning that there's a single filter shown for .svg
if svg
is selected in the previous export window, but there is no bidirectional link that would allow to change the file type in the file chooser window to say, a .pdf
file and have the change propagated back into the application)
I do get some
(rnote:36736): Gtk-WARNING **: 13:05:01.848: gtk_file_chooser_add_filter() called on filter already in list
for the import file dialog somehow.
nevermind, only ListStore
's are also deprecated..gtk4::ListStore
is
But I'd prefer to keep it a single filter anyway, because then it is immediatly clear what is importable - everything that is visibly listed in the filepicker
Is it ? On gtk-rs gtk4::ListStore
is shown as deprecated, with gio::ListStore
to use instead.
My bad, gio::ListStore
is not
Works now for me. Thanks for this fix :)
To fix #1073 .
Makes the filter on the save dialog work.
Before this the
file type
part was empty (filter not applied) leading to various potential errors, including the possibility to create files that have no extension.