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

Adds a hint for users.

This commit is contained in:
Thomas Harte 2018-08-06 18:56:59 -04:00
parent c61b9dca17
commit d4c1244485

View File

@ -222,6 +222,7 @@ class MachineDocument:
@IBAction final func insertMedia(_ sender: AnyObject!) {
let openPanel = NSOpenPanel()
openPanel.message = "Hint: you can also insert media by dragging and dropping it onto the machine's window."
openPanel.beginSheetModal(for: self.windowControllers[0].window!) { (response) in
if response == .OK {
for url in openPanel.urls {