mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-02 18:10:07 +02:00
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:
parent
7c51a09090
commit
c1467eddea
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user