diff --git a/OsmAnd/src/net/osmand/plus/myplaces/SelectedGPXFragment.java b/OsmAnd/src/net/osmand/plus/myplaces/SelectedGPXFragment.java index ac87ee734e..159864e20d 100644 --- a/OsmAnd/src/net/osmand/plus/myplaces/SelectedGPXFragment.java +++ b/OsmAnd/src/net/osmand/plus/myplaces/SelectedGPXFragment.java @@ -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());