mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-08 09:37:29 +01:00
gtk2: don't emulate eaten keys if key handler was stopped (fixes issue #0014481)
git-svn-id: trunk@21545 -
This commit is contained in:
parent
be1d125c88
commit
fa1b49813e
@ -2161,7 +2161,8 @@ var
|
||||
begin
|
||||
// some widgets eats keys, but do not do anything useful for the LCL
|
||||
// emulate the keys
|
||||
if not ABeforeEvent then exit;
|
||||
if not ABeforeEvent then Exit;
|
||||
if EventStopped then Exit;
|
||||
|
||||
//DebugLn(['EmulateEatenKeys TargetWidget=',dbghex(PtrInt(TargetWidget))]);
|
||||
//DebugLn(['EmulateEatenKeys ',GetWidgetDebugReport(TargetWidget),' gdk_event_get_type(AEvent)=',gdk_event_get_type(AEvent),' GDK_KEY_PRESS=',GDK_KEY_PRESS,' VKey=',VKey]);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user