mirror of
https://github.com/trudnai/Steve2.git
synced 2024-06-13 09:29:36 +00:00
Quite app if window closed
This commit is contained in:
parent
487a99cc50
commit
bc32e23c77
|
@ -28,6 +28,10 @@ class AppDelegate: NSObject, NSApplicationDelegate {
|
|||
|
||||
var preferencesController : PreferencesWindowController?
|
||||
|
||||
func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
|
||||
return true
|
||||
}
|
||||
|
||||
@IBAction func ROM_Selected(_ sender: NSMenuItem) {
|
||||
if let menuIdentifier = sender.identifier {
|
||||
// rom_loadFile( Bundle.main.resourcePath, menuIdentifier.rawValue + ".rom" )
|
||||
|
|
Loading…
Reference in New Issue
Block a user