mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-02 03:52:05 +02:00
LHelp: Focus TOC TreeView in a proper way. Sending key VK_T caused text being deleted in Lazarus source editor.
git-svn-id: trunk@64590 -
This commit is contained in:
parent
98e62261f7
commit
1f5fc709d3
@ -1264,12 +1264,7 @@ begin
|
||||
fMustClose:= false;
|
||||
Application.Restore;
|
||||
Application.BringToFront;
|
||||
{$IFDEF WINDOWS}
|
||||
// Go to TOC TreeView and to get focus on foreground window
|
||||
KeyInput.Apply([ssCtrl]);
|
||||
KeyInput.Press(VK_T);
|
||||
KeyInput.UnApply([ssCtrl]);
|
||||
{$ENDIF}
|
||||
MiActionsTOCClick(Nil); // Go to TOC TreeView.
|
||||
end;
|
||||
end;
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user