mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +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 971a4ea58a9ee..6a4a457bc055b 100644
 | 
						|
--- ui/views/controls/textfield/textfield.cc
 | 
						|
+++ ui/views/controls/textfield/textfield.cc
 | 
						|
@@ -3132,6 +3132,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.
 |