Never return true on processing JobFinished

JobFinished events are not meant to be inhibited.
jmap-eventsource
Manos Pitsidianakis 2020-11-15 21:07:53 +02:00
parent 76f8bdc558
commit 1c62de57ae
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
2 changed files with 3 additions and 3 deletions

View File

@ -1098,7 +1098,7 @@ impl Component for Composer {
.replies
.push_back(UIEvent::Action(Tab(Kill(self.id))));
}
return true;
return false;
}
(ViewMode::WaitingForSendResult(ref mut selector, _), _) => {
if selector.process_event(event, context) {

View File

@ -164,7 +164,7 @@ impl Component for KeySelection {
.replies
.push_back(UIEvent::FinishedUIDialog(id, Box::new(res)));
}
return true;
return false;
}
let mut widget = UIDialog::new(
"select key",
@ -201,7 +201,7 @@ impl Component for KeySelection {
};
}
}
true
false
}
_ => progress_spinner.process_event(event, context),
},