Fix #3614
This commit is contained in:
parent
6d03f15d8b
commit
dc1761de83
1 changed files with 1 additions and 1 deletions
|
@ -1296,7 +1296,7 @@ public class TrackSegmentFragment extends OsmAndListFragment {
|
|||
}
|
||||
|
||||
void updateChart(LineChart chart) {
|
||||
if (chart != null) {
|
||||
if (chart != null && !chart.isEmpty()) {
|
||||
if (gpxItem.chartMatrix != null) {
|
||||
chart.getViewPortHandler().refresh(new Matrix(gpxItem.chartMatrix), chart, true);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue