gui/map_win.cc
changeset 1780 9f052750753f
parent 1733 5e0d97823ba2
child 1823 cb082cdf3667
equal deleted inserted replaced
16:b5ad4c1dc069 17:eed01dc6ee27
    90   for(int i=0;i<EDGE_PROPERTY_NUM;i++)
    90   for(int i=0;i<EDGE_PROPERTY_NUM;i++)
    91   {
    91   {
    92     //filling in combo box with choices
    92     //filling in combo box with choices
    93     e_combo_array[i]->append_text((Glib::ustring)newmapname);
    93     e_combo_array[i]->append_text((Glib::ustring)newmapname);
    94   }
    94   }
    95   //setting text property for the new map
       
    96   e_combo_array[N_TEXT]->set_active_text((Glib::ustring)newmapname);
       
    97 }
    95 }
    98 
    96 
    99 void MapWin::registerNewNodeMap(std::string newmapname)
    97 void MapWin::registerNewNodeMap(std::string newmapname)
   100 {
    98 {
   101   for(int i=0;i<NODE_PROPERTY_NUM;i++)
    99   for(int i=0;i<NODE_PROPERTY_NUM;i++)
   102   {
   100   {
   103     //filling in combo box with choices
   101     //filling in combo box with choices
   104     n_combo_array[i]->append_text((Glib::ustring)newmapname);
   102     n_combo_array[i]->append_text((Glib::ustring)newmapname);
   105   }
   103   }
   106   //setting text property for the new map
       
   107   n_combo_array[N_TEXT]->set_active_text((Glib::ustring)newmapname);
       
   108 }
   104 }