mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 03:04:00 +00:00
Don't set hidden field editor as first responder
This commit is contained in:
parent
50f1c3c4ca
commit
e50d0dc073
|
@ -907,7 +907,7 @@ const float kSemiFloor = -1.0f*kLineH;
|
||||||
{
|
{
|
||||||
NSWindow * win = [self window];
|
NSWindow * win = [self window];
|
||||||
NSResponder * hasResponder = [win firstResponder];
|
NSResponder * hasResponder = [win firstResponder];
|
||||||
if ([self editTarget])
|
if ([self editTarget] && ![[self editTarget] hidden])
|
||||||
if (hasResponder != [win fieldEditor:NO forObject:nil]
|
if (hasResponder != [win fieldEditor:NO forObject:nil]
|
||||||
|| [(id)hasResponder delegate] != fFieldEditor
|
|| [(id)hasResponder delegate] != fFieldEditor
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user