mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 19:20:17 +08:00
Make completion proposal usable for mouse users again, after mainform has focus again. Broken in r4530. See issue #2640.
This commit is contained in:
@ -5269,6 +5269,9 @@ begin
|
||||
if not CanExecute then
|
||||
Exit;
|
||||
|
||||
// Work around for issue #2640. See ApplicationDeActivate
|
||||
Proposal.Form.Enabled := True;
|
||||
|
||||
rx := TRegExpr.Create;
|
||||
|
||||
// Find token1.token2.token3, while cursor is somewhere in token3
|
||||
@ -11214,6 +11217,7 @@ begin
|
||||
// and issue #3342
|
||||
// Does not work for some reason in TApplicationEvents.OnDeactivate
|
||||
SynCompletionProposal.Form.Enabled := False;
|
||||
// Gets activated again in SynCompletionProposalExecute
|
||||
end;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user