summaryrefslogtreecommitdiff
path: root/src/corelib
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2013-04-08 01:43:59 +0100
committerGraeme Geldenhuys <graemeg@gmail.com>2013-04-08 01:43:59 +0100
commiteb124eb39b49ce513e5585657fcec92efe6f51b2 (patch)
treeec3796978fed48ffaf651eeb0f08915b515897d2 /src/corelib
parent274c52a488fe61036ed8cb520c7d2c15412bc827 (diff)
downloadfpGUI-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.pas2
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;