Display network type in tooltip over server status panel. See http://www.heidisql.com/forum.php?t=21556

This commit is contained in:
Ansgar Becker
2016-06-09 20:16:56 +00:00
parent 45d74f2a0e
commit 67a30de7bb

View File

@@ -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