diff options
author | Arne Schwabe <arne@rfc2549.org> | 2013-11-21 09:10:05 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2013-11-21 09:10:05 +0100 |
commit | d526f083ea9c9ebc08c7d6ca54ab7e69841eeb31 (patch) | |
tree | 3596f528d58acc678585b9fbe56d813fe507acf0 /src | |
parent | d93401d0c6d694cff4ef5ab1e020ed44a62b43bf (diff) |
Fix log window in landscape
Diffstat (limited to 'src')
-rw-r--r-- | src/de/blinkt/openvpn/LogWindow.java | 7 |
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(); + } + } |