gui/map_win.cc
changeset 1884 9c061834b33b
parent 1849 a4d1362397fe
child 1891 56a718d144c4
     1.1 --- a/gui/map_win.cc	Fri Jan 06 14:44:04 2006 +0000
     1.2 +++ b/gui/map_win.cc	Fri Jan 06 16:07:08 2006 +0000
     1.3 @@ -24,7 +24,7 @@
     1.4  
     1.5    for(int i=0;i<EDGE_PROPERTY_NUM;i++)
     1.6    {
     1.7 -    e_combo_array[i]=new MapSelector(eml, mytab.getActiveEdgeMap(i), i, true);
     1.8 +    e_combo_array[i]=new MapSelector(eml, mytab.getActiveEdgeMap(i), edge_property_strings[i], true);
     1.9  
    1.10      (*table).attach((*(e_combo_array[i])),0,1,i,i+1,Gtk::SHRINK,Gtk::SHRINK,10,3);
    1.11  
    1.12 @@ -44,7 +44,7 @@
    1.13  
    1.14    for(int i=0;i<NODE_PROPERTY_NUM;i++)
    1.15    {
    1.16 -    n_combo_array[i]=new MapSelector(nml, mytab.getActiveNodeMap(i), i, false);
    1.17 +    n_combo_array[i]=new MapSelector(nml, mytab.getActiveNodeMap(i), node_property_strings[i], false);
    1.18  
    1.19      (*table).attach((*(n_combo_array[i])),0,1,i,i+1,Gtk::SHRINK,Gtk::SHRINK,10,3);
    1.20