IDE, After syncompletion, enforce focus for source-editor (if focus is switched at all) (issue on QT, win)

git-svn-id: trunk@27220 -
This commit is contained in:
martin 2010-08-28 13:06:17 +00:00
parent 7c51a09090
commit c1467eddea

View File

@ -7940,8 +7940,9 @@ begin
FDefaultCompletionForm.Deactivate;
if PluginFocused and (ActiveEditor<>nil) then begin
//LCLIntf.ShowCaret(ActSE.EditorComponent.Handle);
TSourceEditor(ActiveEditor).EditorComponent.SetFocus;
// Need to force the correct form too (QT)
//TSourceEditor(ActiveEditor).EditorComponent.SetFocus;
TSourceEditor(ActiveEditor).FocusEditor;
end;
end;