Add some stuff

This commit is contained in:
PavelRatushny 2017-08-09 18:36:26 +03:00
parent de9530af0d
commit ccccf81330

View file

@ -178,6 +178,9 @@ public class MeasurementToolFragment extends Fragment {
disable(undoBtn);
}
hidePointsListIfNoPoints();
if (measurementLayer.getPointsCount() > 0) {
enable(upDownBtn);
}
adapter.notifyDataSetChanged();
enable(redoBtn);
updateText();
@ -195,6 +198,9 @@ public class MeasurementToolFragment extends Fragment {
disable(redoBtn);
}
hidePointsListIfNoPoints();
if (measurementLayer.getPointsCount() > 0) {
enable(upDownBtn);
}
adapter.notifyDataSetChanged();
enable(undoBtn);
updateText();