diff --git a/guidata/widgets/console/base.py b/guidata/widgets/console/base.py index 3217b92..ffffc0e 100644 --- a/guidata/widgets/console/base.py +++ b/guidata/widgets/console/base.py @@ -368,7 +368,7 @@ def set_palette(self, background, foreground): palette = QPalette() # palette.setColor(QPalette.Base, background) palette.setColor(QPalette.Text, foreground) - palette.setColor(QPalette.Background, background) + palette.setColor(QPalette.Window, background) self.setPalette(palette) # Set the right background color when changing color schemes