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