Martin Vaclavik - 2011-11-02

I was solving this issue and I found out: source codes contained commented line 1286 in CswClientDockableWindow.cs class

1285 // add newly created layer
1286 // if(wmsGroupLayer.get_Layer(i).Name != newLayer.Name)
1287 wmsGroupLayer.InsertLayer(newLayer, 0);

if this line is uncommented servise layer is added once. But I dont know why it is commented. It can bring some other bugs although
I did not find any problem with it during my testing.