From effddcaf6591cb1297e6b6972e23bf12dfb5c60e Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Thu, 16 Nov 2023 23:33:42 -0500 Subject: [PATCH] Hide PC option by default. --- .../Mac/Clock Signal/MachinePicker/MachinePicker.swift | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/OSBindings/Mac/Clock Signal/MachinePicker/MachinePicker.swift b/OSBindings/Mac/Clock Signal/MachinePicker/MachinePicker.swift index 9caa53996..fd970f7e5 100644 --- a/OSBindings/Mac/Clock Signal/MachinePicker/MachinePicker.swift +++ b/OSBindings/Mac/Clock Signal/MachinePicker/MachinePicker.swift @@ -84,11 +84,17 @@ class MachinePicker: NSObject, NSTableViewDataSource, NSTableViewDelegate { // Set up data soure. - // TEMPORARY: remove the Apple IIgs option. It's not yet a fully-working machine; no need to publicise it. + // TEMPORARY: remove the Apple IIgs and PC compatible options. + // Neither is yet a fully-working machine. let appleIIgsTabIndex = machineSelector.indexOfTabViewItem(withIdentifier: "appleiigs") machineSelector.removeTabViewItem(machineSelector.tabViewItem(at: appleIIgsTabIndex)) + + let pcTabIndex = machineSelector.indexOfTabViewItem(withIdentifier: "pc") + machineSelector.removeTabViewItem(machineSelector.tabViewItem(at: pcTabIndex)) + machineNameTable.reloadData() + // Machine type if let machineIdentifier = standardUserDefaults.string(forKey: "new.machine") { // If I've changed my mind about visible tabs between versions, there may not be one that corresponds