From 33cd254dade654553b7430e55264ac0e59ceb38b Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Thu, 19 Nov 2020 16:25:06 -0600 Subject: [PATCH] Fix bug where emulated separator continually was added to the row --- Mac/MainWindow/Timeline/TimelineTableRowView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mac/MainWindow/Timeline/TimelineTableRowView.swift b/Mac/MainWindow/Timeline/TimelineTableRowView.swift index 8285aa06b..55a7e7e1e 100644 --- a/Mac/MainWindow/Timeline/TimelineTableRowView.swift +++ b/Mac/MainWindow/Timeline/TimelineTableRowView.swift @@ -57,7 +57,7 @@ class TimelineTableRowView : NSTableRowView { } private func addSeparatorView() { - guard let cellView = cellView else { return } + guard let cellView = cellView, separator == nil else { return } separator = NSView() separator!.translatesAutoresizingMaskIntoConstraints = false separator!.wantsLayer = true