From e50d0dc073709e1839fbede6c692a640521ff436 Mon Sep 17 00:00:00 2001 From: Matthias Neeracher Date: Sun, 20 May 2012 02:04:53 +0200 Subject: [PATCH] Don't set hidden field editor as first responder --- Sources/VLSheetView.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/VLSheetView.mm b/Sources/VLSheetView.mm index 880454a..c807b35 100644 --- a/Sources/VLSheetView.mm +++ b/Sources/VLSheetView.mm @@ -907,7 +907,7 @@ const float kSemiFloor = -1.0f*kLineH; { NSWindow * win = [self window]; NSResponder * hasResponder = [win firstResponder]; - if ([self editTarget]) + if ([self editTarget] && ![[self editTarget] hidden]) if (hasResponder != [win fieldEditor:NO forObject:nil] || [(id)hasResponder delegate] != fFieldEditor )