You've already forked lazarus-ccr
* Add workaround for bug in gtk2 that lead to focus being lost after arrow key is pressed
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@428 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -15407,6 +15407,11 @@ begin
|
|||||||
// If a repaint is needed then paint the entire tree because of the ClearSelection call,
|
// If a repaint is needed then paint the entire tree because of the ClearSelection call,
|
||||||
if NeedInvalidate then
|
if NeedInvalidate then
|
||||||
Invalidate;
|
Invalidate;
|
||||||
|
{$ifdef LCLGtk2}
|
||||||
|
//workaround for changing focus bug
|
||||||
|
if CharCode <> VK_TAB then
|
||||||
|
CharCode := 0;
|
||||||
|
{$endif}
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
|
Reference in New Issue
Block a user