diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2013-04-08 01:43:59 +0100 |
---|---|---|
committer | David Laurence Emerson <dle3ab@angelbase.com> | 2013-05-28 00:42:52 -0700 |
commit | c8fd343228367e477fbc313570b342e9292b10c5 (patch) | |
tree | 2cae2ea55cb864b17afb029c736c47dbf0dc514d /src/corelib/fpg_widget.pas | |
parent | c84490ed3ed9278d7ac45e66b4b17b437bd258ab (diff) | |
download | fpGUI-c8fd343228367e477fbc313570b342e9292b10c5.tar.xz |
Menu shortcuts with F1 key combinations never worked.
The global F1 (application help) shortcut handling
never looked at the ShiftState value. So if we had
a popup menu with F1->help; Ctrl+F1->About, the
second item's shortcut with be interpreted as F1 only.
Diffstat (limited to 'src/corelib/fpg_widget.pas')
-rw-r--r-- | src/corelib/fpg_widget.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/fpg_widget.pas b/src/corelib/fpg_widget.pas index 67206557..a74c1b30 100644 --- a/src/corelib/fpg_widget.pas +++ b/src/corelib/fpg_widget.pas @@ -960,7 +960,7 @@ begin dir := 0; - if not consumed and (keycode = fpgApplication.HelpKey) then + if not consumed and (keycode = fpgApplication.HelpKey) and (shiftstate=[]) then begin InvokeHelp; consumed := True; |