Qt: bugfix for #12924 - ide segfault

git-svn-id: trunk@18167 -
This commit is contained in:
zeljko 2009-01-06 13:07:34 +00:00
parent 3870f0df36
commit a08869b964

View File

@ -4389,8 +4389,8 @@ begin
{$IFDEF UNIX}
if (Result <> 0) and (Result <> hWnd) and not
((TQtWidget(Hwnd) is TQtMainWindow) or
(TQtWidget(Result) is TQtMainWindow) and
Supports(TQtWidget(Result), IQtEdit, QtEdit))
(TQtWidget(Result) is TQtMainWindow)) and
Supports(TQtWidget(Result), IQtEdit, QtEdit)
then
QWidget_clearFocus(TQtWidget(Result).Widget);
{$ENDIF}