mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-14 10:02:10 +08:00
Avoid main window blinking into view when Cancel is pressed in the session manager. Happens because Application.Run() sets the main form to Visible before the message pump starts and gets to processing WM_QUIT (or whatever).
This commit is contained in:
@ -1587,7 +1587,7 @@ begin
|
||||
FreeAndNil(ConnForm);
|
||||
if dlgResult = mrCancel then begin
|
||||
Close;
|
||||
Exit;
|
||||
Halt;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Reference in New Issue
Block a user