summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn/LogWindow.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/de/blinkt/openvpn/LogWindow.java')
-rw-r--r--src/de/blinkt/openvpn/LogWindow.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/de/blinkt/openvpn/LogWindow.java b/src/de/blinkt/openvpn/LogWindow.java
index 843f85cc..641b2416 100644
--- a/src/de/blinkt/openvpn/LogWindow.java
+++ b/src/de/blinkt/openvpn/LogWindow.java
@@ -3,6 +3,7 @@ package de.blinkt.openvpn;
import android.app.Activity;
import android.os.Bundle;
import android.view.MenuItem;
+import de.blinkt.openvpn.fragments.LogFragment;
/**
* Created by arne on 13.10.13.
@@ -14,6 +15,12 @@ public class LogWindow extends Activity {
setContentView(R.layout.log_window);
getActionBar().setDisplayHomeAsUpEnabled(true);
+ if (savedInstanceState == null) {
+ getFragmentManager().beginTransaction()
+ .add(R.id.container, new LogFragment())
+ .commit();
+ }
+
}