From f81275812c7318f34fcc3c605f81b4437dddfe98 Mon Sep 17 00:00:00 2001 From: Roopesh Chander Date: Sun, 17 Mar 2019 15:59:55 +0530 Subject: macOS: Nullify observationToken on prepareForReuse() Signed-off-by: Roopesh Chander --- WireGuard/WireGuard/UI/macOS/View/KeyValueRow.swift | 1 + 1 file changed, 1 insertion(+) (limited to 'WireGuard/WireGuard/UI/macOS/View') diff --git a/WireGuard/WireGuard/UI/macOS/View/KeyValueRow.swift b/WireGuard/WireGuard/UI/macOS/View/KeyValueRow.swift index 3d3f257..2f037d8 100644 --- a/WireGuard/WireGuard/UI/macOS/View/KeyValueRow.swift +++ b/WireGuard/WireGuard/UI/macOS/View/KeyValueRow.swift @@ -108,6 +108,7 @@ class EditableKeyValueRow: NSView { key = "" value = "" isKeyInBold = false + observationToken = nil } } -- cgit v1.2.3-59-g8ed1b