mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-23 07:27:42 +01: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 33afc532a2929..bbc38834966c2 100644
|
|
--- ui/views/controls/textfield/textfield.cc
|
|
+++ ui/views/controls/textfield/textfield.cc
|
|
@@ -3130,6 +3130,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.
|