diff -r ffab98e94909 -r fc1e478697d3 nbtab.cc --- a/nbtab.cc Tue Oct 24 07:31:31 2006 +0000 +++ b/nbtab.cc Wed Oct 25 13:21:24 2006 +0000 @@ -202,6 +202,7 @@ if(!mapwinexists) { mapwin=new MapWin("Map Setup - "+name, mapstorage.getEdgeMapList(), mapstorage.getNodeMapList(), *this); + mapst2mapwin=mapstorage.signal_map_win_ch().connect(sigc::mem_fun(*mapwin, &MapWin::changeEntry)); mapwin->show(); mapwinexists=true; } @@ -214,7 +215,7 @@ double attraction, propulsation; int iterations; gd_canvas->get_design_data(attraction, propulsation, iterations); - designwin=new DesignWin("Design Setup - "+name, attraction, propulsation, iterations); + designwin=new DesignWin("Design Setup - "+name, attraction, propulsation, iterations, *this); designwin->signal_attraction().connect(sigc::mem_fun(*this, &NoteBookTab::attraction_ch)); designwin->signal_propulsation().connect(sigc::mem_fun(*this, &NoteBookTab::propulsation_ch)); @@ -230,6 +231,7 @@ void NoteBookTab::closeMapWin() { + mapst2mapwin.disconnect(); mapwinexists=false; delete mapwin; } @@ -278,3 +280,7 @@ gd_canvas->set_iteration(v); } +void NoteBookTab::active_maps_needed() +{ + mapstorage.broadcastActiveMaps(); +}