mirror of
https://github.com/ilya-zlobintsev/LACT.git
synced 2025-02-25 18:55:26 -06:00
fix: treat closing the confirmation dialog as reverting
This commit is contained in:
parent
10e8d91223
commit
9dbbab29cc
@ -449,8 +449,7 @@ impl App {
|
||||
dialog.run_async(clone!(@strong self as app => move |diag, response| {
|
||||
let command = match response {
|
||||
ResponseType::Yes => ConfirmCommand::Confirm,
|
||||
ResponseType::No => ConfirmCommand::Revert,
|
||||
_ => unreachable!(),
|
||||
_ => ConfirmCommand::Revert,
|
||||
};
|
||||
|
||||
diag.hide();
|
||||
|
Loading…
Reference in New Issue
Block a user