зеркало из https://github.com/mozilla/pjs.git
Bug 415170 - "On Mac OS X, any comment is omitted by the Crash Reporter" (use textDidEndEditing instead) [p=ted.mielczarek@gmail.com (Ted Mielczarek) r=nkreeger a1.9b3=schrep]
This commit is contained in:
Родитель
adc38e95ee
Коммит
ea3e13ec5f
|
@ -95,7 +95,7 @@
|
|||
- (IBAction)emailMeClicked:(id)sender;
|
||||
|
||||
- (void)controlTextDidChange:(NSNotification *)note;
|
||||
- (void)textDidEndEditing:(NSNotification *)aNotification;
|
||||
- (void)textDidChange:(NSNotification *)aNotification;
|
||||
- (BOOL)textView:(NSTextView *)aTextView shouldChangeTextInRange:(NSRange)affectedCharRange replacementString:(NSString *)replacementString;
|
||||
|
||||
- (void)doInitialResizing;
|
||||
|
|
|
@ -276,7 +276,7 @@ static bool RestartApplication()
|
|||
[self updateEmail];
|
||||
}
|
||||
|
||||
- (void)textDidEndEditing:(NSNotification *)aNotification
|
||||
- (void)textDidChange:(NSNotification *)aNotification
|
||||
{
|
||||
// update comment parameter
|
||||
if ([[[mCommentText textStorage] mutableString] length] > 0)
|
||||
|
|
Загрузка…
Ссылка в новой задаче