# HG changeset patch # User Paper # Date 1696323378 14400 # Node ID 5f9bdcea3d014d51223faa8d7dc710f18f8d9e04 # Parent 64e5f427c6a24fdfc2684b315213f8b253089272 sidebar: fix regression caused by SetBackgroundColor() diff -r 64e5f427c6a2 -r 5f9bdcea3d01 src/gui/widgets/sidebar.cpp --- a/src/gui/widgets/sidebar.cpp Tue Oct 03 04:45:05 2023 -0400 +++ b/src/gui/widgets/sidebar.cpp Tue Oct 03 04:56:18 2023 -0400 @@ -31,6 +31,7 @@ } void SideBar::SetBackgroundColor(QColor color) { + viewport()->setAutoFillBackground(color != Qt::transparent); QPalette pal(palette()); pal.setColor(QPalette::Window, color); setPalette(pal);