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 33948eb..5dbbe72 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 {