[Lemon-commits] ladanyi: r3357 - glemon/branches/akos
Lemon SVN
svn at lemon.cs.elte.hu
Sun Nov 4 03:18:06 CET 2007
Author: ladanyi
Date: Sun Nov 4 03:18:06 2007
New Revision: 3357
Modified:
glemon/branches/akos/new_map_win.cc
Log:
Bugfix.
Modified: glemon/branches/akos/new_map_win.cc
==============================================================================
--- glemon/branches/akos/new_map_win.cc (original)
+++ glemon/branches/akos/new_map_win.cc Sun Nov 4 03:18:06 2007
@@ -50,6 +50,7 @@
cbType.append_text("Numeric");
if (map_type & STR)
cbType.append_text("String");
+ cbType.set_active(0);
(*table).attach(lblType,0,1,1,2,Gtk::SHRINK,Gtk::SHRINK,10,3);
(*table).attach(cbType, 1,2,1,2,Gtk::SHRINK,Gtk::SHRINK,10,3);
@@ -222,7 +223,7 @@
mytab.mapstorage.createEdgeMap(map_name, MapValue::NUMERIC,
MapValue(0.0));
std::vector<double>::const_iterator vit = values->begin();
- for (NodeIt it(mytab.mapstorage.graph); it != INVALID; ++it)
+ for (EdgeIt it(mytab.mapstorage.graph); it != INVALID; ++it)
{
mytab.mapstorage.set(map_name, it, MapValue(*vit));
++vit;
More information about the Lemon-commits
mailing list