map_win.cc
branchgui
changeset 41 06f1f9a8d51f
parent 40 cebacea4f965
child 43 9fe6eebde1a8
     1.1 --- a/map_win.cc	Tue Jul 26 18:14:23 2005 +0000
     1.2 +++ b/map_win.cc	Tue Jul 26 21:19:41 2005 +0000
     1.3 @@ -265,11 +265,13 @@
     1.4  
     1.5  void MapWin::registerNewNodeMap(std::string newmapname)
     1.6  {
     1.7 -  for(int i=0;i<EDGE_PROPERTY_NUM;i++)
     1.8 +  for(int i=0;i<NODE_PROPERTY_NUM;i++)
     1.9    {
    1.10      //filling in combo box with choices
    1.11      std::list<Glib::ustring> listStrings=n_combo_array[i].get_popdown_strings();
    1.12      listStrings.push_back(newmapname);
    1.13      n_combo_array[i].set_popdown_strings(listStrings);
    1.14    }
    1.15 +  Gtk::Entry* entry = n_combo_array[N_TEXT].get_entry();
    1.16 +  entry->set_text((Glib::ustring)newmapname);
    1.17  }