Fix issue
This commit is contained in:
parent
3d73d3b43e
commit
94c927c26f
1 changed files with 2 additions and 1 deletions
|
@ -396,7 +396,8 @@ public class AvailableGPXFragment extends OsmandExpandableListFragment {
|
||||||
public void onContextMenuClick(int resId, int pos, boolean isChecked, DialogInterface dialog) {
|
public void onContextMenuClick(int resId, int pos, boolean isChecked, DialogInterface dialog) {
|
||||||
if (resId == R.string.local_index_mi_rename) {
|
if (resId == R.string.local_index_mi_rename) {
|
||||||
renameFile(info);
|
renameFile(info);
|
||||||
} else if (resId == R.string.local_index_unselect_gpx_file) {
|
} else if (resId == R.string.local_index_unselect_gpx_file ||
|
||||||
|
resId == R.string.local_index_select_gpx_file) {
|
||||||
getMyApplication().getSelectedGpxHelper().selectGpxFile(info.gpx, resId == R.string.local_index_select_gpx_file, true);
|
getMyApplication().getSelectedGpxHelper().selectGpxFile(info.gpx, resId == R.string.local_index_select_gpx_file, true);
|
||||||
listAdapter.notifyDataSetChanged();
|
listAdapter.notifyDataSetChanged();
|
||||||
Runnable r = selectedGpxHelper.getUiListener();
|
Runnable r = selectedGpxHelper.getUiListener();
|
||||||
|
|
Loading…
Reference in a new issue