Merge pull request #6017 from quelbs/FIX/dash-track-limit-#6002
Fix for #6002, number of tracks from disk on dashboard limited to 3
This commit is contained in:
commit
6e7c35a894
1 changed files with 3 additions and 1 deletions
|
@ -111,7 +111,9 @@ public class DashTrackFragment extends DashBaseFragment {
|
|||
}
|
||||
}
|
||||
}
|
||||
int totalCount = 3 + list.size() / 2;
|
||||
// 10 is the maximum length of the list. The actual length is determined later by
|
||||
// DashboardOnMap.handleNumberOfRows()
|
||||
int totalCount = 10;
|
||||
if(app.getSettings().SAVE_GLOBAL_TRACK_TO_GPX.get()) {
|
||||
totalCount --;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue