mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-05-28 01:24:30 +02:00
16 lines
567 B
Diff
16 lines
567 B
Diff
diff --git ui/views/controls/textfield/textfield.cc ui/views/controls/textfield/textfield.cc
|
|
index 076be6ed3360d..466184b6988a9 100644
|
|
--- ui/views/controls/textfield/textfield.cc
|
|
+++ ui/views/controls/textfield/textfield.cc
|
|
@@ -3129,6 +3129,10 @@ void Textfield::OnEnabledChanged() {
|
|
if (GetInputMethod()) {
|
|
GetInputMethod()->OnTextInputTypeChanged(this);
|
|
}
|
|
+ if (GetWidget()) {
|
|
+ SetColor(GetTextColor());
|
|
+ UpdateBackgroundColor();
|
|
+ }
|
|
UpdateDefaultBorder();
|
|
|
|
// Only expose readonly if enabled. Don't overwrite the disabled restriction.
|