16 lines
527 B
Diff
16 lines
527 B
Diff
diff --git ui/views/controls/textfield/textfield.cc ui/views/controls/textfield/textfield.cc
|
|
index c8a4f5805248c..a9f693b357fb9 100644
|
|
--- ui/views/controls/textfield/textfield.cc
|
|
+++ ui/views/controls/textfield/textfield.cc
|
|
@@ -2973,6 +2973,10 @@ void Textfield::OnCursorBlinkTimerFired() {
|
|
void Textfield::OnEnabledChanged() {
|
|
if (GetInputMethod())
|
|
GetInputMethod()->OnTextInputTypeChanged(this);
|
|
+ if (GetWidget()) {
|
|
+ SetColor(GetTextColor());
|
|
+ UpdateBackgroundColor();
|
|
+ }
|
|
UpdateDefaultBorder();
|
|
}
|
|
|