map_win.cc
branchgui
changeset 70 2ee22e690853
parent 62 80eefca04b1e
child 81 5ad61c33487c
equal deleted inserted replaced
13:c40a6e3ac624 14:44d27b47011d
    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 }