Fixing message loop handling of Action methods
This commit is contained in:
parent
652526ec59
commit
e345fc2948
@ -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);
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user