Re-enable VectorSourceDialog
authorAndy Allan <andy@gravitystorm.co.uk>
Tue, 24 May 2011 11:28:21 +0000 (12:28 +0100)
committerAndy Allan <andy@gravitystorm.co.uk>
Tue, 24 May 2011 11:28:21 +0000 (12:28 +0100)
net/systemeD/potlatch2/BackgroundSelector.mxml

index bc0922a..2c48339 100644 (file)
 
        <mx:HBox>
        <mx:Button label="Edit..." click="Application.application.bgButton.close(); new BackgroundDialog().init('Background imagery',background,Imagery.instance());" />
-       <mx:Button label="Vector file..." click="Application.application.bgButton.close(); " />
+       <mx:Button label="Vector file..." click="Application.application.bgButton.close(); new VectorSourceDialog().init();" />
        </mx:HBox>
 
        <mx:Script><![CDATA[
-               // >>>> REFACTOR: vector file button was click="Application.application.bgButton.close(); new VectorSourceDialog().init();" but that's amazingly broken -->
 
                import net.systemeD.halcyon.*;
                import net.systemeD.halcyon.connection.*;