mirror of
https://github.com/TomHarte/CLK.git
synced 2024-08-31 10:29:32 +00:00
Dismisses sheet before closing document.
This commit is contained in:
parent
2c71ba0744
commit
e1ecf66485
@ -364,6 +364,8 @@ class MachineDocument:
|
|||||||
}
|
}
|
||||||
|
|
||||||
@IBAction func cancelCreateMachine(_ sender: NSButton?) {
|
@IBAction func cancelCreateMachine(_ sender: NSButton?) {
|
||||||
|
self.windowControllers[0].window?.endSheet(self.machinePickerPanel!)
|
||||||
|
self.machinePicker = nil
|
||||||
close()
|
close()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user