mirror of
https://github.com/TomHarte/CLK.git
synced 2024-09-16 08:56:51 +00:00
Adds a hint for users.
This commit is contained in:
parent
c61b9dca17
commit
d4c1244485
@ -222,6 +222,7 @@ class MachineDocument:
|
|||||||
|
|
||||||
@IBAction final func insertMedia(_ sender: AnyObject!) {
|
@IBAction final func insertMedia(_ sender: AnyObject!) {
|
||||||
let openPanel = NSOpenPanel()
|
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
|
openPanel.beginSheetModal(for: self.windowControllers[0].window!) { (response) in
|
||||||
if response == .OK {
|
if response == .OK {
|
||||||
for url in openPanel.urls {
|
for url in openPanel.urls {
|
||||||
|
Loading…
Reference in New Issue
Block a user