Skip to content

Commit

Permalink
Display network type in tooltip over server status panel. See http://…
Browse files Browse the repository at this point in the history
  • Loading branch information
ansgarbecker committed Jun 9, 2016
1 parent 45d74f2 commit 67a30de
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/dbconnection.pas
Expand Up @@ -4738,8 +4738,10 @@ function TDBConnection.ConnectionInfo: TStringList;
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
Expand Down

0 comments on commit 67a30de

Please sign in to comment.