From 06754c42dce94642864388d6f163d0b552bebdba Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Tue, 24 May 2011 15:29:43 +0100 Subject: [PATCH] Curvies, not squaries --- net/systemeD/potlatch2/VectorSourceDialog.mxml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/systemeD/potlatch2/VectorSourceDialog.mxml b/net/systemeD/potlatch2/VectorSourceDialog.mxml index 33948ebd..5dbbe723 100644 --- a/net/systemeD/potlatch2/VectorSourceDialog.mxml +++ b/net/systemeD/potlatch2/VectorSourceDialog.mxml @@ -112,7 +112,7 @@ } 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 { -- 2.36.1