Commit 2f2ae3d9 authored by Luis Javier Merino's avatar Luis Javier Merino
Browse files

Fix visual bell

Changes to scrollbar colouring interfered with the visual bell.
TerminalColor::onColorsChanged() not only updates the scrollbar palette
(for Breeze widget style), but also updates the TerminalDisplay palette.

BUG: 445520
parent c3bdb7d9
Pipeline #122375 passed with stage
in 2 minutes and 2 seconds
......@@ -120,7 +120,13 @@ void TerminalColor::onColorsChanged()
palette.setColor(QPalette::WindowText, buttonTextColor);
palette.setColor(QPalette::ButtonText, buttonTextColor);
QWidget *widget = qobject_cast<QWidget *>(parent());
widget->setPalette(palette);
Q_EMIT onPalette(palette);
widget->update();
}
void TerminalColor::swapFGBGColors()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment