From: Richard Fairhurst Date: Mon, 4 Apr 2011 10:18:12 +0000 (+0100) Subject: Fix issue with adding new tags in advanced view X-Git-Tag: 2.1~13 X-Git-Url: https://git.openstreetmap.org/potlatch2.git/commitdiff_plain/37647262abb4815b39e5cedd68b131b2b8ce38c0 Fix issue with adding new tags in advanced view --- diff --git a/net/systemeD/potlatch2/TagGrid.mxml b/net/systemeD/potlatch2/TagGrid.mxml index e4551472..64598fa6 100644 --- a/net/systemeD/potlatch2/TagGrid.mxml +++ b/net/systemeD/potlatch2/TagGrid.mxml @@ -111,6 +111,8 @@ } } } + if (!set && event.newValue) tagDataProvider.addItem( { key:event.key, value:event.newValue } ); + // tell Flex to redraw the grid because we've changed a tag invalidateList(); }