Dialog improvements

This commit is contained in:
Jeremy Soller 2024-02-26 14:31:50 -07:00
parent a936cd4a6d
commit ab3b5f40d5
4 changed files with 45 additions and 15 deletions

View file

@ -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);