2024-03-26 22:48:23 +01:00
|
|
|
diff --git ui/views/controls/textfield/textfield.cc ui/views/controls/textfield/textfield.cc
|
2024-04-23 22:06:00 +02:00
|
|
|
index 60e154e91a9e6..0a3fa6255836f 100644
|
2024-03-26 22:48:23 +01:00
|
|
|
--- 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();
|
|
|
|
}
|
|
|
|
|