1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-06 01:28:57 +00:00

Enables start by double-click.

This commit is contained in:
Thomas Harte 2021-03-25 17:53:07 -04:00
parent 9f6bb325e6
commit e90e30e766
2 changed files with 5 additions and 0 deletions

View File

@ -373,6 +373,10 @@ class MachineDocument:
self.configureAs(selectedMachine)
}
@IBAction func tableViewDoubleClick(_ sender: NSTableView?) {
createMachine(nil)
}
@IBAction func cancelCreateMachine(_ sender: NSButton?) {
close()
}

View File

@ -687,6 +687,7 @@ Gw
</tableColumn>
</tableColumns>
<connections>
<action trigger="doubleAction" selector="tableViewDoubleClick:" target="-2" id="umS-by-Fc6"/>
<outlet property="dataSource" destination="192-Eb-Rpg" id="f5p-Gi-Ddh"/>
<outlet property="delegate" destination="192-Eb-Rpg" id="rOg-Hi-zwb"/>
</connections>