Gtk2: fixed crash because of uninitialized object. issue #25925

git-svn-id: trunk@44528 -
This commit is contained in:
zeljko 2014-03-27 11:31:50 +00:00
parent 0f0ea7602d
commit 9f54b421c0

View File

@ -2222,6 +2222,7 @@ begin
TargetObj := AData;
FocusedWinControl := nil;
FocusedWidget := nil;
LCLObject := nil;
// The gtk sends keys first to the gtkwindow and then to the focused control.
// The LCL expects only once to the focused control.