From 7855b12d6af97e5082dac6e2a89f0fd6175f2a76 Mon Sep 17 00:00:00 2001 From: Riccardo Mottola Date: Fri, 24 Jan 2025 01:38:09 +0100 Subject: [PATCH] revert part of TestPlant imports. The _updateFieldEditor method is called *after* setUpFieldEditorAttributes so it reset attributes set to NSText text object. --- Source/NSTextFieldCell.m | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Source/NSTextFieldCell.m b/Source/NSTextFieldCell.m index 4d9cb7144..5d9d635ba 100644 --- a/Source/NSTextFieldCell.m +++ b/Source/NSTextFieldCell.m @@ -286,14 +286,6 @@ } } -- (void) _updateFieldEditor: (NSText*)textObject -{ - [super _updateFieldEditor: textObject]; - [textObject setDrawsBackground: _textfieldcell_draws_background]; - [textObject setBackgroundColor: _background_color]; - [textObject setTextColor: _text_color]; -} - - (BOOL) isOpaque { if (_textfieldcell_draws_background == NO