Pre-fill the filename propertly
Saving a file for the first time is supposed to set the current name, not the file name.
This commit is contained in:
parent
293b64c1f3
commit
958633e4ff
|
@ -65,7 +65,7 @@ class Drawing(Gtk.Box):
|
|||
Gtk.STOCK_SAVE, Gtk.ResponseType.OK))
|
||||
|
||||
dialog.set_do_overwrite_confirmation(True)
|
||||
dialog.set_filename('Untitled.svg')
|
||||
dialog.set_current_name('untitled.svg')
|
||||
|
||||
filter_any = Gtk.FileFilter()
|
||||
filter_any.set_name('Any files')
|
||||
|
|
Loading…
Reference in New Issue