indicate if selected tracks tab is empty
This commit is contained in:
parent
dfbf83f9cd
commit
3cc949f16e
1 changed files with 2 additions and 0 deletions
|
@ -115,6 +115,8 @@ public class FavouritesActivity extends SherlockFragmentActivity {
|
|||
if (gpx.isShowingAnyGpxFiles()) {
|
||||
vl += " (" + gpx.getSelectedGPXFiles().size()
|
||||
+ ")";
|
||||
} else {
|
||||
vl += " (0)";
|
||||
}
|
||||
try {
|
||||
((TextView)tabHost.getTabWidget().getChildAt(2).findViewById(android.R.id.title)).setText(vl);
|
||||
|
|
Loading…
Reference in a new issue