fix typo
This commit is contained in:
parent
f0e11a584b
commit
fb01d3cd3a
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@ public class SelectedGPXFragment extends OsmAndListFragment {
|
|||
public void onClick(DialogInterface dialog, int which) {
|
||||
SelectedGpxFile sf = app.getSelectedGpxHelper().selectGpxFile(getGpx(), vis.isChecked(), false);
|
||||
int clr = list.get(colorSpinner.getSelectedItemPosition());
|
||||
if(!vis.isChecked() && clr != 0 && sf.getModifiableGpxFile() != null) {
|
||||
if(vis.isChecked() && clr != 0 && sf.getModifiableGpxFile() != null) {
|
||||
sf.getModifiableGpxFile().setColor(clr);
|
||||
sf.processPoints();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue