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

Ensures a new machine starts as first responder.

This commit is contained in:
Thomas Harte 2018-04-03 22:22:39 -04:00
parent 7dac791290
commit c697dd78f0

View File

@ -92,8 +92,9 @@ class MachineDocument:
setupAudioQueueClockRate()
// bring OpenGL view-holding window on top of the options panel and show the content
openGLView.window!.makeKeyAndOrderFront(self)
openGLView.isHidden = false
openGLView.window!.makeKeyAndOrderFront(self)
openGLView.window!.makeFirstResponder(openGLView)
// start accepting best effort updates
self.bestEffortUpdater!.delegate = self