| Index: ui/views/controls/button/md_text_button.cc
|
| diff --git a/ui/views/controls/button/md_text_button.cc b/ui/views/controls/button/md_text_button.cc
|
| index 4d9e27a072eea4a93a74ae64af0b968711c1fbbc..093ea261c42a321bf0f47a1e565b1e0bb76dff5c 100644
|
| --- a/ui/views/controls/button/md_text_button.cc
|
| +++ b/ui/views/controls/button/md_text_button.cc
|
| @@ -251,8 +251,11 @@ void MdTextButton::UpdateColors() {
|
| : ui::NativeTheme::kColorId_ButtonEnabledColor;
|
|
|
| ui::NativeTheme* theme = GetNativeTheme();
|
| - if (!explicitly_set_normal_color())
|
| + if (!explicitly_set_normal_color()) {
|
| + const auto colors = explicitly_set_colors();
|
| LabelButton::SetEnabledTextColors(theme->GetSystemColor(fg_color_id));
|
| + set_explicitly_set_colors(colors);
|
| + }
|
|
|
| // Prominent buttons keep their enabled text color; disabled state is conveyed
|
| // by shading the background instead.
|
|
|