From 8c16d0207ed90906230089b5f0a7a036b22748c7 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Thu, 15 Sep 2011 17:22:59 +0100 Subject: [PATCH] That's some messed up stuff right there --- net/systemeD/potlatch2/mapfeatures/editors/ChoiceEditor.mxml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/net/systemeD/potlatch2/mapfeatures/editors/ChoiceEditor.mxml b/net/systemeD/potlatch2/mapfeatures/editors/ChoiceEditor.mxml index b41576f6..b5ee71cf 100644 --- a/net/systemeD/potlatch2/mapfeatures/editors/ChoiceEditor.mxml +++ b/net/systemeD/potlatch2/mapfeatures/editors/ChoiceEditor.mxml @@ -31,8 +31,12 @@ [Bindable(event="factory_set")] protected function get choices():ArrayCollection { if ( _choices == null ) { + trace("factory is "+ _factory); + trace("processing choices for "+ _factory.key); // or .direcction + trace("factory is now "+ _factory); _choices = new ArrayCollection(); for each ( var choice:Choice in ChoiceEditorFactory(_factory).choices ) + trace("added item: "+choice.value); _choices.addItem(choice); _choices.addItem(createUnsetChoice()); } -- 2.36.1