gui/algobox.cc
changeset 1879 01d41844ef46
parent 1878 409a31271efd
child 1884 9c061834b33b
     1.1 --- a/gui/algobox.cc	Thu Jan 05 12:30:09 2006 +0000
     1.2 +++ b/gui/algobox.cc	Thu Jan 05 16:54:34 2006 +0000
     1.3 @@ -59,9 +59,9 @@
     1.4    emit_tab_change();
     1.5  }
     1.6  
     1.7 -void AlgoBox::update_maplist( void * ms)
     1.8 +void AlgoBox::update_maplist(MapStorage * ms)
     1.9  {
    1.10 -  mapstorage=(MapStorage *)ms;
    1.11 +  mapstorage=ms;
    1.12    std::vector<std::string> nml;
    1.13    std::vector<std::string> eml;
    1.14    if(mapstorage!=NULL)
    1.15 @@ -69,7 +69,7 @@
    1.16        mapstorage->signal_node_map_ch().connect(sigc::mem_fun(*this, &AlgoBox::nodemaplist_changed));
    1.17        mapstorage->signal_edge_map_ch().connect(sigc::mem_fun(*this, &AlgoBox::edgemaplist_changed));
    1.18        nml=mapstorage->getNodeMapList();
    1.19 -      eml=mapstorage->getNodeMapList();
    1.20 +      eml=mapstorage->getEdgeMapList();
    1.21      }
    1.22    for(int i=0;i<(int)nodemapcbts.size();i++)
    1.23      {