Disable the resetStatistics item when in countAll mode
This commit is contained in:
parent
4289933155
commit
49660946f8
|
@ -86,6 +86,7 @@ public class StatisticsFragment extends Fragment {
|
|||
@Override
|
||||
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
|
||||
inflater.inflate(R.menu.statistics, menu);
|
||||
menu.findItem(R.id.statistics_reset).setEnabled(!countAll);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue