summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn/VPNPreferences.java
diff options
context:
space:
mode:
authorArne Schwabe <arne@blinkt.de>2012-05-31 22:20:51 +0200
committerArne Schwabe <arne@blinkt.de>2012-05-31 22:20:51 +0200
commitfae0343025699f20462f431cb9468d2c58e7c511 (patch)
tree965cbc1c9c50491cde7d4fb993efb8aa76f4fc38 /src/de/blinkt/openvpn/VPNPreferences.java
parent2bae1d0cf273305e4b4a46fb1dcfbfa8876a0a9b (diff)
- fix a few more strings
- add editing xxx title to cfonig settings
Diffstat (limited to 'src/de/blinkt/openvpn/VPNPreferences.java')
-rw-r--r--src/de/blinkt/openvpn/VPNPreferences.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/de/blinkt/openvpn/VPNPreferences.java b/src/de/blinkt/openvpn/VPNPreferences.java
index f128270a..a2c8407c 100644
--- a/src/de/blinkt/openvpn/VPNPreferences.java
+++ b/src/de/blinkt/openvpn/VPNPreferences.java
@@ -28,6 +28,10 @@ public class VPNPreferences extends PreferenceActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
mProfileUUID = getIntent().getStringExtra(getPackageName() + ".profileUUID");
+ VpnProfile profile = ProfileManager.get(this,mProfileUUID);
+ if(profile!=null) {
+ setTitle(getString(R.string.edit_profile_title, profile.getName()));
+ }
super.onCreate(savedInstanceState);
}