Commit 7048595f authored by Pierre Kraemer's avatar Pierre Kraemer

SCHNApps: debug plugin view linked

parent 9f27e691
......@@ -139,7 +139,8 @@ void RenderPlugin::viewLinked(View* view)
params->perMap.insert(map->getName(), p);
}
if (!maps.empty())
params->selectedMap = maps[0];
changeSelectedMap(view, maps[0]);
// params->selectedMap = maps[0];
connect(view, SIGNAL(mapLinked(MapHandlerGen*)), this, SLOT(mapLinked(MapHandlerGen*)));
connect(view, SIGNAL(mapUnlinked(MapHandlerGen*)), this, SLOT(mapUnlinked(MapHandlerGen*)));
......
......@@ -77,7 +77,7 @@ void RenderVectorPlugin::viewLinked(View* view)
params->perMap.insert(map->getName(), p);
}
if (!maps.empty())
params->selectedMap = maps[0];
changeSelectedMap(view, maps[0]);
connect(view, SIGNAL(mapLinked(MapHandlerGen*)), this, SLOT(mapLinked(MapHandlerGen*)));
connect(view, SIGNAL(mapUnlinked(MapHandlerGen*)), this, SLOT(mapUnlinked(MapHandlerGen*)));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment