This commit is contained in:
Florian Zevedei 2024-01-30 16:07:08 +01:00
parent f60e1000c3
commit cb5fa35269

View File

@ -426,8 +426,6 @@ public class ButtonGrid : ControlBase
return; return;
} }
await result.ConfirmAction(ConfirmationText ?? "");
ButtonRow match = null; ButtonRow match = null;
var index = -1; var index = -1;
@ -462,6 +460,8 @@ public class ButtonGrid : ControlBase
check: check:
if (match != null) if (match != null)
{ {
await result.ConfirmAction(ConfirmationText ?? "");
await OnButtonClicked(new ButtonClickedEventArgs(match.GetButtonMatch(result.RawData, false), index, await OnButtonClicked(new ButtonClickedEventArgs(match.GetButtonMatch(result.RawData, false), index,
match)); match));