Ignore:
Timestamp:
Feb 21, 2007, 1:29:27 AM (18 years ago)
Author:
alloc
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • oup/rewrite/Tools/Template.pas

    r101 r105  
    117117      else
    118118        datatype := 'Unknown: ';
    119       boxstring := datatype + fn + ' (Level: ' + IntToStr(level) + ')';
     119      boxstring := datatype + fn + ' (Level: ' + IntToStr(level) + ') [' + IntToStr(ConManager.ConnectionByIndex[i].ConnectionID) + ']';
    120120      combo_connection.Items.Add(boxstring);
    121121      if ConManager.ConnectionByIndex[i].ConnectionID = FConnectionID then
     
    276276begin
    277277  if combo_connection.ItemIndex >= 0 then
    278     FConnectionID := combo_connection.ItemIndex
     278  begin
     279    name := combo_connection.Items.Strings[combo_connection.ItemIndex];
     280    FConnectionID := StrToInt(MidStr(name, Pos('[', name) + 1, Pos(']', name) - Pos('[', name)  - 1));
     281  end
    279282  else
    280283    FConnectionID := -1;
Note: See TracChangeset for help on using the changeset viewer.