]> git.openstreetmap.org Git - potlatch2.git/blobdiff - net/systemeD/potlatch2/StyleSelector.mxml
hide non-universal styles from the main stylesheet menu (still selectable for vector...
[potlatch2.git] / net / systemeD / potlatch2 / StyleSelector.mxml
index 28c3cb9fb729be66f4c8251c0cf887c25580a61c..d839ad7f8d1309ea58795f7f15e6b8cb2663fcd5 100644 (file)
@@ -10,7 +10,7 @@
                dataProvider="{Stylesheets.instance().getCollection()}"
                rowCount="{Stylesheets.instance().getCollection().length}" />
 
-       <mx:Button label="Edit..." click="new BackgroundDialog().init('Map style',mapStyle,Stylesheets.instance());" />
+       <mx:Button label="Edit..." click="Application.application.styleButton.close(); new BackgroundDialog().init('Map style',mapStyle,Stylesheets.instance());" />
 
        <mx:Script><![CDATA[
                import net.systemeD.halcyon.*;