From 87c849539216decd8bab41a456f7204effa22765 Mon Sep 17 00:00:00 2001 From: "ted.mielczarek%gmail.com" Date: Sun, 20 Jul 2008 22:22:00 +0000 Subject: [PATCH] bug 441235 - Shift-tab gets stuck in the comments field of the Mac crashreporter client. Patch by Hakan Waara , r=me a=ss git-svn-id: svn://10.0.0.236/trunk@253142 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/toolkit/crashreporter/client/crashreporter_osx.h | 1 + mozilla/toolkit/crashreporter/client/crashreporter_osx.mm | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/mozilla/toolkit/crashreporter/client/crashreporter_osx.h b/mozilla/toolkit/crashreporter/client/crashreporter_osx.h index 15599b90d9d..c2b39f324eb 100644 --- a/mozilla/toolkit/crashreporter/client/crashreporter_osx.h +++ b/mozilla/toolkit/crashreporter/client/crashreporter_osx.h @@ -132,6 +132,7 @@ - (BOOL)resignFirstResponder; - (void)setPlaceholder:(NSString*)placeholder; - (void)insertTab:(id)sender; +- (void)insertBacktab:(id)sender; - (void)setEnabled:(BOOL)enabled; - (void)dealloc; diff --git a/mozilla/toolkit/crashreporter/client/crashreporter_osx.mm b/mozilla/toolkit/crashreporter/client/crashreporter_osx.mm index 014c2bb8a65..63647c60dd1 100644 --- a/mozilla/toolkit/crashreporter/client/crashreporter_osx.mm +++ b/mozilla/toolkit/crashreporter/client/crashreporter_osx.mm @@ -677,6 +677,11 @@ static bool RestartApplication() [[self window] selectNextKeyView:sender]; } +- (void)insertBacktab:(id)sender +{ + [[self window] selectPreviousKeyView:sender]; +} + - (void)setEnabled:(BOOL)enabled { [self setSelectable:enabled];