try extra getColor

This commit is contained in:
sonora 2015-11-29 17:32:21 +01:00
parent 9317384d65
commit 30dabd73bf

View file

@ -273,7 +273,7 @@ public class SelectedGPXFragment extends OsmAndListFragment {
final TIntArrayList list = new TIntArrayList();
final Spinner colorSpinner = (Spinner) view.findViewById(R.id.ColorSpinner);
ColorDialogs.setupColorSpinner(getActivity(), getGpx().getColor(0), colorSpinner, list);
ColorDialogs.setupColorSpinner(getActivity(), getGpx().getColor(getColor(0)), colorSpinner, list);
final Spinner sp = (Spinner) view.findViewById(R.id.Spinner);
AlertDialog.Builder bld = new AlertDialog.Builder(getMyActivity());