We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f9ccdf commit 6ce1a61Copy full SHA for 6ce1a61
net/systemeD/potlatch2/BackgroundSelector.mxml
@@ -31,10 +31,10 @@
31
import mx.managers.PopUpManager;
32
33
/** Sets the currently selected item by consulting Imagery.instance() */
34
- public function updateSelectedIndex() {
+ public function updateSelectedIndex():void {
35
if(background.selectedIndex==-1) {
36
var im:Imagery = Imagery.instance();
37
- var i = im.collection.indexOf(im.findBackgroundWithName(im.selected.name));
+ var i:int = im.collection.indexOf(im.findBackgroundWithName(im.selected.name));
38
background.selectedIndex = i;
39
}
40
0 commit comments