Merge pull request #6481 from osmandapp/kolomiets_branch
Kolomiets branch
This commit is contained in:
commit
bbfef8cecd
1 changed files with 3 additions and 1 deletions
|
@ -65,7 +65,6 @@ import java.util.Set;
|
||||||
|
|
||||||
|
|
||||||
public class FavoritesTreeFragment extends OsmandExpandableListFragment {
|
public class FavoritesTreeFragment extends OsmandExpandableListFragment {
|
||||||
|
|
||||||
public static final int SEARCH_ID = -1;
|
public static final int SEARCH_ID = -1;
|
||||||
// public static final int EXPORT_ID = 0;
|
// public static final int EXPORT_ID = 0;
|
||||||
// public static final int IMPORT_ID = 1;
|
// public static final int IMPORT_ID = 1;
|
||||||
|
@ -948,7 +947,10 @@ public class FavoritesTreeFragment extends OsmandExpandableListFragment {
|
||||||
} else {
|
} else {
|
||||||
Set<FavouritePoint> set = favoritesSelected.get(group.name);
|
Set<FavouritePoint> set = favoritesSelected.get(group.name);
|
||||||
if (set != null) {
|
if (set != null) {
|
||||||
|
groupsToDelete.remove(group);
|
||||||
|
getGroupPosition(group.name);
|
||||||
set.remove(model);
|
set.remove(model);
|
||||||
|
favouritesAdapter.notifyDataSetInvalidated();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
updateSelectionMode(actionMode);
|
updateSelectionMode(actionMode);
|
||||||
|
|
Loading…
Reference in a new issue