forked from I2P_Developers/i2p.i2p
use advanced setting to show LS debug
This commit is contained in:
@@ -10,8 +10,6 @@ public class NetDbHelper extends HelperBase {
|
|||||||
private boolean _debug;
|
private boolean _debug;
|
||||||
private boolean _graphical;
|
private boolean _graphical;
|
||||||
|
|
||||||
private static final String PROP_DEBUG = "routerconsole.debug";
|
|
||||||
|
|
||||||
private static final String titles[] =
|
private static final String titles[] =
|
||||||
{_x("Summary"), // 0
|
{_x("Summary"), // 0
|
||||||
_x("Local Router"), // 1
|
_x("Local Router"), // 1
|
||||||
@@ -107,7 +105,7 @@ public class NetDbHelper extends HelperBase {
|
|||||||
for (int i = 0; i < titles.length; i++) {
|
for (int i = 0; i < titles.length; i++) {
|
||||||
if (i == 2 && tab != 2)
|
if (i == 2 && tab != 2)
|
||||||
continue; // can't nav to lookup
|
continue; // can't nav to lookup
|
||||||
if (i == 5 && !_context.getBooleanProperty(PROP_DEBUG))
|
if (i == 5 && !_context.getBooleanProperty(PROP_ADVANCED))
|
||||||
continue;
|
continue;
|
||||||
if (i == tab) {
|
if (i == tab) {
|
||||||
// we are there
|
// we are there
|
||||||
|
Reference in New Issue
Block a user