From 67a30de7bbb2958f197599c0f34021c3fbdf25fa Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Thu, 9 Jun 2016 20:16:56 +0000 Subject: [PATCH] Display network type in tooltip over server status panel. See http://www.heidisql.com/forum.php?t=21556 --- source/dbconnection.pas | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/dbconnection.pas b/source/dbconnection.pas index 2d48c2f0..2805767f 100644 --- a/source/dbconnection.pas +++ b/source/dbconnection.pas @@ -4738,8 +4738,10 @@ var begin Log(lcDebug, 'Get connection details ...'); Result := TStringList.Create; - if Assigned(Parameters) then + if Assigned(Parameters) then begin Result.Values[_('Host')] := Parameters.Hostname; + Result.Values[_('Network type')] := Parameters.NetTypeName(Parameters.NetType, True); + end; Ping(False); Result.Values[_('Connected')] := EvalBool(FActive); if FActive then begin