From 2d33c80489233eb3be434a4115805be3cb1246a9 Mon Sep 17 00:00:00 2001 From: Matthias Neeracher Date: Sat, 12 Apr 2008 22:35:53 +0000 Subject: [PATCH] Fix responder on backward tabbing --- Sources/VLSheetView.mm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Sources/VLSheetView.mm b/Sources/VLSheetView.mm index 2181f15..7366c80 100644 --- a/Sources/VLSheetView.mm +++ b/Sources/VLSheetView.mm @@ -954,7 +954,9 @@ static int8_t sSharpAcc[] = { NSWindow * win = [self window]; NSResponder * hasResponder = [win firstResponder]; if ([self editTarget]) - if (hasResponder != [win fieldEditor:NO forObject:nil]) + if (hasResponder != [win fieldEditor:NO forObject:nil] + || [hasResponder delegate] != fFieldEditor + ) [win makeFirstResponder:fFieldEditor]; }