diff --git a/OsmAnd/src/net/osmand/plus/myplaces/SelectedGPXFragment.java b/OsmAnd/src/net/osmand/plus/myplaces/SelectedGPXFragment.java index 159864e20d..2f3594896b 100644 --- a/OsmAnd/src/net/osmand/plus/myplaces/SelectedGPXFragment.java +++ b/OsmAnd/src/net/osmand/plus/myplaces/SelectedGPXFragment.java @@ -272,8 +272,8 @@ public class SelectedGPXFragment extends OsmAndListFragment { View view = getMyActivity().getLayoutInflater().inflate(R.layout.selected_track_edit, null); final TIntArrayList list = new TIntArrayList(); - final Spinner colorSpinner = (Spinner) view.findViewById(R.id.ColorSpinner); - ColorDialogs.setupColorSpinner(getActivity(), getGpx().getColor(getColor(0)), colorSpinner, list); + final Spinner colorSpinner = (Spinner) view.findViewById(R.id.ColorSpinner); + ColorDialogs.setupColorSpinner(getActivity(), getGpx().getColor(0), colorSpinner, list); final Spinner sp = (Spinner) view.findViewById(R.id.Spinner); AlertDialog.Builder bld = new AlertDialog.Builder(getMyActivity());