Allow the user to create a new file
This commit is contained in:
parent
104ffc5782
commit
db188ea75a
|
@ -72,7 +72,7 @@ impl FileChooserRow {
|
||||||
let not_cancellable: Option<&gio::Cancellable> = None;
|
let not_cancellable: Option<&gio::Cancellable> = None;
|
||||||
let s = s.clone();
|
let s = s.clone();
|
||||||
let on_selected = on_selected.clone();
|
let on_selected = on_selected.clone();
|
||||||
gtk::FileDialog::builder().build().open(
|
gtk::FileDialog::builder().build().save(
|
||||||
no_window,
|
no_window,
|
||||||
not_cancellable,
|
not_cancellable,
|
||||||
move |file_id| match file_id {
|
move |file_id| match file_id {
|
||||||
|
|
Loading…
Reference in New Issue