Skip to content

Commit 6ce1a61

Browse files
author
richard
committed
fix compiler warnings. Please *please* PLEASE don't commit stuff that causes compiler warnings.
git-svn-id: http://svn.openstreetmap.org/applications/editors/potlatch2@25534 b9d5c4c9-76e1-0310-9c85-f3177eceb1e4
1 parent 5f9ccdf commit 6ce1a61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

net/systemeD/potlatch2/BackgroundSelector.mxml

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@
3131
import mx.managers.PopUpManager;
3232
3333
/** Sets the currently selected item by consulting Imagery.instance() */
34-
public function updateSelectedIndex() {
34+
public function updateSelectedIndex():void {
3535
if(background.selectedIndex==-1) {
3636
var im:Imagery = Imagery.instance();
37-
var i = im.collection.indexOf(im.findBackgroundWithName(im.selected.name));
37+
var i:int = im.collection.indexOf(im.findBackgroundWithName(im.selected.name));
3838
background.selectedIndex = i;
3939
}
4040
}

0 commit comments

Comments
 (0)