Skip to content
This repository has been archived by the owner on Jan 1, 2021. It is now read-only.

Commit

Permalink
Boog fix with switching styles
Browse files Browse the repository at this point in the history
  • Loading branch information
gravitystorm committed Nov 29, 2010
1 parent 2d542a7 commit e9d7084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/systemeD/potlatch2/StyleSelector.mxml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<mx:List width="100%" height="100%" id="mapStyle"
labelField="name"
change="Application.application.styleButton.close(); Application.application.setStylesheet(mapStyle.selectedItem.name, mapStyle.selectedItem.url);"
change="Application.application.styleButton.close(); Stylesheets.instance().setStylesheet(mapStyle.selectedItem.name, mapStyle.selectedItem.url);"
dataProvider="{Stylesheets.instance().getCollection()}" />

<mx:Button label="Edit..." click="new BackgroundDialog().init('Map style',mapStyle,Stylesheets.instance());" />
Expand Down

0 comments on commit e9d7084

Please sign in to comment.