1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-09 21:29:53 +00:00

Dismisses sheet before closing document.

This commit is contained in:
Thomas Harte 2020-11-13 19:00:37 -05:00
parent 2c71ba0744
commit e1ecf66485

View File

@ -364,6 +364,8 @@ class MachineDocument:
}
@IBAction func cancelCreateMachine(_ sender: NSButton?) {
self.windowControllers[0].window?.endSheet(self.machinePickerPanel!)
self.machinePicker = nil
close()
}