diff --git a/OsmAnd/src/net/osmand/plus/myplaces/SelectedGPXFragment.java b/OsmAnd/src/net/osmand/plus/myplaces/SelectedGPXFragment.java index 18a5bc3c90..a3cbdc6ef1 100644 --- a/OsmAnd/src/net/osmand/plus/myplaces/SelectedGPXFragment.java +++ b/OsmAnd/src/net/osmand/plus/myplaces/SelectedGPXFragment.java @@ -271,8 +271,8 @@ public class SelectedGPXFragment extends OsmAndListFragment { final TIntArrayList list = new TIntArrayList(); final Spinner colorSpinner = (Spinner) view.findViewById(R.id.ColorSpinner); - ColorDialogs.setupColorSpinner(getActivity(), getGpx().getColor(R.color.gpx_track), colorSpinner, list); - + //ColorDialogs.setupColorSpinner(getActivity(), getGpx().getColor(0), colorSpinner, list); + ColorDialogs.setupColorSpinner(getActivity(), getMyActivity().getResources().getColor(R.color.gpx_track), colorSpinner, list); final Spinner sp = (Spinner) view.findViewById(R.id.Spinner); Builder bld = new AlertDialog.Builder(getMyActivity());