Curvies, not squaries
authorAndy Allan <andy@gravitystorm.co.uk>
Tue, 24 May 2011 14:29:43 +0000 (15:29 +0100)
committerAndy Allan <andy@gravitystorm.co.uk>
Tue, 24 May 2011 14:29:43 +0000 (15:29 +0100)
net/systemeD/potlatch2/VectorSourceDialog.mxml

index 33948ebdee676382e0d05b1bc014e931828abe40..5dbbe723bdee8564e09c7a0689e23d8ab231553d 100644 (file)
        }
        
        private function toggleVisibility(event:Event):void {
-               map.findLayer[dataGrid.selectedItem.name].visible = !map.findLayer[dataGrid.selectedItem.name].visible;
+               map.findLayer(dataGrid.selectedItem.name).visible = !map.findLayer(dataGrid.selectedItem.name).visible;
        }
        
        private function dataEdited(event:DataGridEvent):void {