Never return true on processing JobFinished
JobFinished events are not meant to be inhibited.jmap-eventsource
parent
76f8bdc558
commit
1c62de57ae
|
@ -1098,7 +1098,7 @@ impl Component for Composer {
|
||||||
.replies
|
.replies
|
||||||
.push_back(UIEvent::Action(Tab(Kill(self.id))));
|
.push_back(UIEvent::Action(Tab(Kill(self.id))));
|
||||||
}
|
}
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
(ViewMode::WaitingForSendResult(ref mut selector, _), _) => {
|
(ViewMode::WaitingForSendResult(ref mut selector, _), _) => {
|
||||||
if selector.process_event(event, context) {
|
if selector.process_event(event, context) {
|
||||||
|
|
|
@ -164,7 +164,7 @@ impl Component for KeySelection {
|
||||||
.replies
|
.replies
|
||||||
.push_back(UIEvent::FinishedUIDialog(id, Box::new(res)));
|
.push_back(UIEvent::FinishedUIDialog(id, Box::new(res)));
|
||||||
}
|
}
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
let mut widget = UIDialog::new(
|
let mut widget = UIDialog::new(
|
||||||
"select key",
|
"select key",
|
||||||
|
@ -201,7 +201,7 @@ impl Component for KeySelection {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
true
|
false
|
||||||
}
|
}
|
||||||
_ => progress_spinner.process_event(event, context),
|
_ => progress_spinner.process_event(event, context),
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue