From a6af08b0920c002f2d79d9608d12e6492d30ca3b Mon Sep 17 00:00:00 2001 From: euzuro Date: Thu, 10 Aug 2006 06:08:34 +0000 Subject: [PATCH] fix for #120 git-svn-id: http://svn.openlayers.org/trunk/openlayers@1188 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Layer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/OpenLayers/Layer.js b/lib/OpenLayers/Layer.js index 6625f5ad39..045e1705f2 100644 --- a/lib/OpenLayers/Layer.js +++ b/lib/OpenLayers/Layer.js @@ -131,6 +131,7 @@ OpenLayers.Layer.prototype = { */ setName: function(newName) { this.name = newName; + this.map.events.triggerEvent("changelayer"); }, /**