diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2013-04-08 01:43:59 +0100 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2013-04-08 01:43:59 +0100 |
commit | eb124eb39b49ce513e5585657fcec92efe6f51b2 (patch) | |
tree | ec3796978fed48ffaf651eeb0f08915b515897d2 /src/corelib | |
parent | 274c52a488fe61036ed8cb520c7d2c15412bc827 (diff) | |
download | fpGUI-eb124eb39b49ce513e5585657fcec92efe6f51b2.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')
-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; |