mirror of https://github.com/BOINC/boinc.git
android: always showing the EventLog in the menu, regardless of advanced preference, enhancement #1314.
This commit is contained in:
parent
b290ad2e5f
commit
5602c09485
|
@ -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"
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue