--- a/project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/TeamCreatorActivity.java Mon Feb 20 21:22:21 2012 +0100
+++ b/project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/TeamCreatorActivity.java Mon Feb 20 21:50:56 2012 +0100
@@ -179,10 +179,10 @@
((SimpleAdapter)hogHat.get(0).getAdapter()).notifyDataSetChanged();
copy(voicesData, voicesDataNew);
- ((ArrayAdapter<String>)fort.getAdapter()).notifyDataSetChanged();
+ ((ArrayAdapter<String>)voice.getAdapter()).notifyDataSetChanged();
copy(fortsData, fortsDataNew);
- ((ArrayAdapter<String>)voice.getAdapter()).notifyDataSetChanged();
+ ((ArrayAdapter<String>)fort.getAdapter()).notifyDataSetChanged();
}
});
@@ -283,7 +283,6 @@
};
private OnItemSelectedListener fortSelector = new OnItemSelectedListener() {
- @SuppressWarnings("unchecked")
public void onItemSelected(AdapterView<?> arg0, View arg1,
int position, long arg3) {
settingsChanged = true;