Dialog improvements
This commit is contained in:
parent
a936cd4a6d
commit
ab3b5f40d5
4 changed files with 45 additions and 15 deletions
|
|
@ -122,7 +122,7 @@ impl Application for App {
|
|||
let mut button = widget::button::standard("Save File");
|
||||
if self.dialog_opt.is_none() {
|
||||
button = button.on_press(Message::DialogOpen(DialogKind::SaveFile {
|
||||
filename: "test".to_string()
|
||||
filename: "test".to_string(),
|
||||
}));
|
||||
}
|
||||
column = column.push(button);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue