fixed application modal for shortcut delegation from Martin Smat

git-svn-id: trunk@7413 -
This commit is contained in:
mattias 2005-07-24 08:01:57 +00:00
parent 6dcd7874c3
commit aa507b9cb7

View File

@ -1314,7 +1314,7 @@ begin
// next: if there is a modal form, let it handle the short cut
ModalForm:=Screen.GetCurrentModalForm;
if ModalForm<>nil then begin
Result := FMainForm.IsShortcut(Message);
Result := ModalForm.IsShortcut(Message);
end else begin
// there is no modal form
@ -1476,6 +1476,9 @@ end;
{ =============================================================================
$Log$
Revision 1.127 2005/07/24 08:01:57 mattias
fixed application modal for shortcut delegation from Martin Smat
Revision 1.126 2005/07/22 12:44:04 vincents
initiliased Result of DispatchAction