From: Roopesh Chander Date: Thu, 8 Nov 2018 06:55:14 +0000 (+0530) Subject: Tunnel edit: While preparing for reuse, should make onValueBeingEdited nil as well X-Git-Tag: 0.0.20181104-5~77 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec2d67ea0009312f740dc94fab953bc4970e779b;p=thirdparty%2Fwireguard-apple.git Tunnel edit: While preparing for reuse, should make onValueBeingEdited nil as well Signed-off-by: Roopesh Chander --- diff --git a/WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift b/WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift index 3af97da..778cbe7 100644 --- a/WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift +++ b/WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift @@ -488,6 +488,7 @@ class TunnelEditTableViewKeyValueCell: UITableViewCell { isValueValid = true keyboardType = .default onValueChanged = nil + onValueBeingEdited = nil } }