mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-14 18:12:05 +08:00
Follow up on r3745
This commit is contained in:
@ -4907,7 +4907,7 @@ var
|
||||
Conn: TDBConnection;
|
||||
begin
|
||||
Conn := ActiveConnection;
|
||||
if Assigned(Conn) and Conn.Active then begin
|
||||
if (Conn <> nil) and Conn.Active then begin
|
||||
// Calculate and display connection-time. Also, on any connect or reconnect, update server version panel.
|
||||
ConnectedTime := Conn.ConnectionUptime;
|
||||
ShowStatusMsg('Connected: ' + FormatTimeNumber(ConnectedTime, False), 2);
|
||||
|
Reference in New Issue
Block a user