1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-27 01:31:42 +00:00

Merge pull request #517 from TomHarte/MacInsertUI

Completes Mac UI 'Insert...' change
This commit is contained in:
Thomas Harte 2018-08-05 22:58:16 -04:00 committed by GitHub
commit 60ac9b49ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,6 @@ class MachineDocument:
super.windowControllerDidLoadNib(aController)
aController.window?.contentAspectRatio = self.aspectRatio()
setupMachineOutput()
}
// Attempting to show a sheet before the window is visible (such as when the NIB is loaded) results in
@ -281,7 +280,7 @@ class MachineDocument:
@IBAction func createMachine(_ sender: NSButton?) {
self.configureAs(machinePicker!.selectedMachine())
machinePicker = nil
sender?.window?.close()
self.windowControllers[0].window?.endSheet(self.machinePickerPanel!)
}
@IBAction func cancelCreateMachine(_ sender: NSButton?) {