summaryrefslogtreecommitdiff
path: root/src/se/leap/openvpn/LogWindow.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/se/leap/openvpn/LogWindow.java')
-rw-r--r--src/se/leap/openvpn/LogWindow.java12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/se/leap/openvpn/LogWindow.java b/src/se/leap/openvpn/LogWindow.java
index c3ce8424..1fe50d6a 100644
--- a/src/se/leap/openvpn/LogWindow.java
+++ b/src/se/leap/openvpn/LogWindow.java
@@ -227,18 +227,6 @@ public class LogWindow extends ListActivity implements StateListener {
} else if(item.getItemId()==R.id.send) {
ladapter.shareLog();
- } else if(item.getItemId()==R.id.edit_vpn) {
- VpnProfile lastConnectedprofile = ProfileManager.getLastConnectedVpn();
-
- if(lastConnectedprofile!=null) {
- Intent vprefintent = new Intent(this,VPNPreferences.class)
- .putExtra(VpnProfile.EXTRA_PROFILEUUID,lastConnectedprofile.getUUIDString());
- startActivityForResult(vprefintent,START_VPN_CONFIG);
- } else {
- Toast.makeText(this, R.string.log_no_last_vpn, Toast.LENGTH_LONG).show();
- }
-
-
}
return super.onOptionsItemSelected(item);