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:
Ansgar Becker
2011-04-17 23:21:05 +00:00
parent 9d630b50fc
commit c8b25c75fa
8 changed files with 215 additions and 162 deletions

View File

@ -284,7 +284,7 @@ begin
MainReg.OpenKey(RegPath + REGKEY_SESSIONS, True);
MainReg.GetKeyNames(SessionNames);
for i:=0 to SessionNames.Count-1 do begin
if SessionNames[i] <> Mainform.ActiveConnection.SessionName then
if SessionNames[i] <> Mainform.ActiveConnection.Parameters.SessionName then
comboExportOutputType.Items.Add(OUTPUT_SERVER+SessionNames[i]);
end;
if (idx > -1) and (idx < comboExportOutputType.Items.Count) then