From 5b2b5a7901089b03047ea8810cd1af3e7e7dfe02 Mon Sep 17 00:00:00 2001 From: Abhishek Date: Fri, 9 Oct 2020 16:13:27 -0500 Subject: [PATCH] Provide unique identifiers for timezones that are added. --- Clocker/Preferences/General/PreferencesViewController.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Clocker/Preferences/General/PreferencesViewController.swift b/Clocker/Preferences/General/PreferencesViewController.swift index 3cfff31..8ecf684 100644 --- a/Clocker/Preferences/General/PreferencesViewController.swift +++ b/Clocker/Preferences/General/PreferencesViewController.swift @@ -779,6 +779,7 @@ extension PreferencesViewController { private func cleanupAfterInstallingTimezone() { let data = TimezoneData() + data.placeID = UUID().uuidString data.setLabel(CLEmptyString) let currentSelection = searchField.stringValue.isEmpty == false ? searchResultsDataSource.timezoneFilteredArray[availableTimezoneTableView.selectedRow % searchResultsDataSource.timezoneFilteredArray.count] :