mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Separate two commands in two lines, so debugging can reveal the crashing command
This commit is contained in:
@@ -3554,7 +3554,8 @@ end;
|
||||
procedure TWinControlHelper.TrySetFocus;
|
||||
begin
|
||||
try
|
||||
if Enabled and CanFocus then
|
||||
if Enabled
|
||||
and CanFocus then
|
||||
SetFocus;
|
||||
except
|
||||
on E:EInvalidOperation do
|
||||
|
||||
Reference in New Issue
Block a user