]> git.ipfire.org Git - thirdparty/wireguard-apple.git/commitdiff
Tunnel edit: While preparing for reuse, should make onValueBeingEdited nil as well
authorRoopesh Chander <roop@roopc.net>
Thu, 8 Nov 2018 06:55:14 +0000 (12:25 +0530)
committerRoopesh Chander <roop@roopc.net>
Thu, 8 Nov 2018 06:55:36 +0000 (12:25 +0530)
Signed-off-by: Roopesh Chander <roop@roopc.net>
WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift

index 3af97dac917fef29f29e2fa0aa8a7e77e2b148e4..778cbe7686358bc9e7be987c7b1a7d1093552f2f 100644 (file)
@@ -488,6 +488,7 @@ class TunnelEditTableViewKeyValueCell: UITableViewCell {
         isValueValid = true
         keyboardType = .default
         onValueChanged = nil
+        onValueBeingEdited = nil
     }
 }