mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-26 03:17:43 +00:00
form_dialogs: a host refusal shows its reason under the rows of a dialog without a held OK
This commit is contained in:
@@ -1315,7 +1315,9 @@ impl StackDialog for HostedParamDialog {
|
||||
if let Some(presets) = &self.presets {
|
||||
dialog = dialog.presets(ParamPresets { rows: &presets.rows, values: &presets.values, built_in: &presets.built_in });
|
||||
}
|
||||
if self.hold {
|
||||
// The held answer also carries a refusal the host keeps on a dialog without a held OK: its notice shows the reason
|
||||
// under the rows, and OK is off meanwhile, so nothing is filed.
|
||||
if self.hold || self.held.refusal_blocks() {
|
||||
dialog = dialog.held(&mut self.held);
|
||||
}
|
||||
if let Some(point) = centre {
|
||||
|
||||
Reference in New Issue
Block a user