diff --git a/SCHNApps/Plugins/render/render.cpp b/SCHNApps/Plugins/render/render.cpp index 84edaceb82583d506dd408e6414df83a09483141..536d89b6f107331e086dc63f0676d416109a59d6 100644 --- a/SCHNApps/Plugins/render/render.cpp +++ b/SCHNApps/Plugins/render/render.cpp @@ -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*))); diff --git a/SCHNApps/Plugins/renderVector/renderVector.cpp b/SCHNApps/Plugins/renderVector/renderVector.cpp index 585e267aaac3cfcf25515bd55681b338bf472688..d0846ac78c7319f3e960beefea2101a2dfebe12d 100644 --- a/SCHNApps/Plugins/renderVector/renderVector.cpp +++ b/SCHNApps/Plugins/renderVector/renderVector.cpp @@ -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*)));