mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 16:56:01 +02:00
fixed application modal for shortcut delegation from Martin Smat
git-svn-id: trunk@7413 -
This commit is contained in:
parent
6dcd7874c3
commit
aa507b9cb7
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user