android: bugfix for previous commit

This commit is contained in:
Joachim Fritzsch 2013-06-06 18:35:24 +02:00
parent 2ffb8fdf61
commit df438aeb43
1 changed files with 1 additions and 0 deletions

View File

@ -302,6 +302,7 @@ public class BOINCActivity extends TabActivity {
// event log, show only in advanced mode
MenuItem eventLog = menu.findItem(R.id.event_log);
if(Monitor.getAppPrefs().getShowAdvanced()) eventLog.setVisible(true);
else eventLog.setVisible(false);
return super.onPrepareOptionsMenu(menu);
}