mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-30 13:04:13 +00:00
use error label on operation cancelled by action
This commit is contained in:
parent
1958a12047
commit
416cb812e5
@ -57,7 +57,7 @@ pub fn new(
|
|||||||
move |_, message| {
|
move |_, message| {
|
||||||
cancellable.cancel();
|
cancellable.cancel();
|
||||||
progress.disable();
|
progress.disable();
|
||||||
status.set_warning(&message);
|
status.set_error(&message);
|
||||||
cancel.button.set_visible(false);
|
cancel.button.set_visible(false);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user