gui/map_win.cc
changeset 1670 c0fa68014ba0
parent 1643 9285f3777553
child 1731 616bc933c2bc
equal deleted inserted replaced
13:8f500c4c0807 14:dec1cbf5ff76
    79 
    79 
    80     std::map< std::string,Graph::NodeMap<double> * >::iterator emsi=ms.beginOfNodeMaps();
    80     std::map< std::string,Graph::NodeMap<double> * >::iterator emsi=ms.beginOfNodeMaps();
    81 
    81 
    82     for(;emsi!=ms.endOfNodeMaps();emsi++)
    82     for(;emsi!=ms.endOfNodeMaps();emsi++)
    83     {
    83     {
    84       listStrings.push_back(emsi->first);
    84       if ((emsi->first != "coordinates_x") && (emsi->first != "coordinates_y"))
       
    85       {
       
    86         listStrings.push_back(emsi->first);
       
    87       }
    85     }
    88     }
    86 
    89 
    87     n_combo_array[i].set_popdown_strings(listStrings);
    90     n_combo_array[i].set_popdown_strings(listStrings);
    88 
    91 
    89     //Restrict it to these choices only:
    92     //Restrict it to these choices only:
   146 
   149 
   147     std::map< std::string,Graph::NodeMap<double> * >::iterator emsi=ms.beginOfNodeMaps();
   150     std::map< std::string,Graph::NodeMap<double> * >::iterator emsi=ms.beginOfNodeMaps();
   148 
   151 
   149     for(;emsi!=ms.endOfNodeMaps();emsi++)
   152     for(;emsi!=ms.endOfNodeMaps();emsi++)
   150     {
   153     {
   151       listStrings.push_back(emsi->first);
   154       if ((emsi->first != "coordinates_x") && (emsi->first != "coordinates_y"))
       
   155       {
       
   156         listStrings.push_back(emsi->first);
       
   157       }
   152     }
   158     }
   153 
   159 
   154     n_combo_array[i].set_popdown_strings(listStrings);
   160     n_combo_array[i].set_popdown_strings(listStrings);
   155   }
   161   }
   156 }
   162 }