Fixing message loop handling of Action methods

This commit is contained in:
Florian Zevedei 2024-05-12 18:45:18 +03:00
parent 652526ec59
commit e345fc2948
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ public class FormBaseMessageLoop : IMessageLoopFactory
}
//Action Event
if (!session.FormSwitched && mr.IsAction)
if (!session.FormSwitched && mr.IsAction && !mr.Handled)
{
//Send Action event to controls
await activeForm.ActionControls(mr);

View File

@ -72,7 +72,7 @@ public class FullMessageLoop : IMessageLoopFactory
}
//Action Event
if (!session.FormSwitched && mr.IsAction)
if (!session.FormSwitched && mr.IsAction && !mr.Handled)
{
//Send Action event to controls
await activeForm.ActionControls(mr);