mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-16 03:30:50 +08:00
Again, try to fix issue #1450
This commit is contained in:
@ -1746,6 +1746,9 @@ var
|
|||||||
i, room: Integer;
|
i, room: Integer;
|
||||||
PanelRect: TRect;
|
PanelRect: TRect;
|
||||||
begin
|
begin
|
||||||
|
// Exit early when user pressed "Cancel" on connection dialog
|
||||||
|
if csDestroying in ComponentState then
|
||||||
|
Exit;
|
||||||
room := 0;
|
room := 0;
|
||||||
for i := 1 to Statusbar.Panels.Count - 1 do
|
for i := 1 to Statusbar.Panels.Count - 1 do
|
||||||
inc(room, Statusbar.Panels[i].Width);
|
inc(room, Statusbar.Panels[i].Width);
|
||||||
|
Reference in New Issue
Block a user