adding in cancel action for password required dialog
This commit is contained in:
parent
b4dae4bfa8
commit
8ef9f8ec4b
1 changed files with 3 additions and 0 deletions
|
|
@ -3734,6 +3734,9 @@ impl Application for App {
|
|||
.primary_action(
|
||||
widget::button::suggested(fl!("extract-here")).on_press(Message::DialogComplete),
|
||||
)
|
||||
.secondary_action(
|
||||
widget::button::standard(fl!("cancel")).on_press(Message::DialogCancel),
|
||||
)
|
||||
}
|
||||
DialogPage::MountError {
|
||||
mounter_key: _,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue