From deac84ded8d8ab3c47d186a44e327ef75f0d13b0 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 --- toolkit/crashreporter/client/crashreporter_osx.h | 1 + toolkit/crashreporter/client/crashreporter_osx.mm | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/toolkit/crashreporter/client/crashreporter_osx.h b/toolkit/crashreporter/client/crashreporter_osx.h index 15599b90d9d..c2b39f324eb 100644 --- a/toolkit/crashreporter/client/crashreporter_osx.h +++ b/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/toolkit/crashreporter/client/crashreporter_osx.mm b/toolkit/crashreporter/client/crashreporter_osx.mm index 014c2bb8a65..63647c60dd1 100644 --- a/toolkit/crashreporter/client/crashreporter_osx.mm +++ b/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];