macOS: Log view: No need to disable Close button

Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
Roopesh Chander
2019-03-28 19:32:58 +05:30
parent 6175de0438
commit f83f159f97
2 changed files with 2 additions and 3 deletions
+2 -1
View File
@@ -44,7 +44,8 @@ public class LogViewHelper {
LogViewHelper.logEntries.append(LogEntry(timestamp: dateString, message: message))
}
DispatchQueue.main.async { [weak self] in
self?.cursor = newCursor
guard let self = self else { return }
self.cursor = newCursor
completion(LogViewHelper.logEntries)
}
}