android: always showing the EventLog in the menu, regardless of advanced preference, enhancement #1314.

This commit is contained in:
Joachim Fritzsch 2013-07-26 08:03:38 +02:00
parent b290ad2e5f
commit 5602c09485
2 changed files with 0 additions and 6 deletions

View File

@ -30,7 +30,6 @@
android:icon="@drawable/infow"></item>
<item android:id="@+id/event_log"
android:enabled="true"
android:visible="false"
android:title="@string/menu_eventlog"
android:icon="@drawable/bugw"></item>
<item android:id="@+id/run_mode"

View File

@ -310,11 +310,6 @@ public class BOINCActivity extends TabActivity {
runMode.setIcon(R.drawable.pausew);
}
// 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);
}