From 1eedf7186d1667f06c4d21c0a84a05bd693a8e15 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Thu, 21 Nov 2013 21:46:05 +0100 Subject: If a user specifies a higer --verb level show the messages at max verb level --- src/de/blinkt/openvpn/LogWindow.java | 1 - src/de/blinkt/openvpn/fragments/LogFragment.java | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/de/blinkt/openvpn/LogWindow.java b/src/de/blinkt/openvpn/LogWindow.java index 641b2416..3a15b00d 100644 --- a/src/de/blinkt/openvpn/LogWindow.java +++ b/src/de/blinkt/openvpn/LogWindow.java @@ -23,7 +23,6 @@ public class LogWindow extends Activity { } - @Override public boolean onOptionsItemSelected(MenuItem item) { return super.onOptionsItemSelected(item); diff --git a/src/de/blinkt/openvpn/fragments/LogFragment.java b/src/de/blinkt/openvpn/fragments/LogFragment.java index 721f0707..e049b8ba 100644 --- a/src/de/blinkt/openvpn/fragments/LogFragment.java +++ b/src/de/blinkt/openvpn/fragments/LogFragment.java @@ -339,7 +339,8 @@ public class LogFragment extends ListFragment implements StateListener, SeekBar. private void initCurrentMessages() { currentLevelEntries.clear(); for(LogItem li: allEntries) { - if (li.getVerbosityLevel() <= mLogLevel) + if (li.getVerbosityLevel() <= mLogLevel || + li.getVerbosityLevel() >= VpnProfile.MAXLOGLEVEL) currentLevelEntries.add(li); } } -- cgit v1.2.3