mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Bind session parameter object to session manager list nodes, to be able to show the right vendor icon in that list.
This commit is contained in:
@ -2691,6 +2691,7 @@ begin
|
||||
raise Exception.Create('Error: Session "'+Session+'" not found in registry.')
|
||||
else begin
|
||||
Result := TConnectionParameters.Create;
|
||||
Result.SessionName := Session;
|
||||
Result.NetType := TNetType(GetRegValue(REGNAME_NETTYPE, Integer(ntMySQL_TCPIP), Session));
|
||||
Result.Hostname := GetRegValue(REGNAME_HOST, '', Session);
|
||||
Result.Username := GetRegValue(REGNAME_USER, '', Session);
|
||||
|
Reference in New Issue
Block a user