mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 08:49:37 +00:00
Hide PC option by default.
This commit is contained in:
parent
4b730c26d0
commit
effddcaf65
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user