mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-01-30 11:04:52 +01:00
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 8d1968f8c3f0d..e8fdc37c0aeb0 100644
|
|
--- ui/views/controls/textfield/textfield.cc
|
|
+++ ui/views/controls/textfield/textfield.cc
|
|
@@ -2972,6 +2972,10 @@ void Textfield::OnCursorBlinkTimerFired() {
|
|
void Textfield::OnEnabledChanged() {
|
|
if (GetInputMethod())
|
|
GetInputMethod()->OnTextInputTypeChanged(this);
|
|
+ if (GetWidget()) {
|
|
+ SetColor(GetTextColor());
|
|
+ UpdateBackgroundColor();
|
|
+ }
|
|
UpdateDefaultBorder();
|
|
}
|
|
|