mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-30 17:20:32 +01:00
2023-09-27 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'RDPanelButton' that caused the background color to fail to be reset when clearing the button. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -127,9 +127,6 @@ QColor RDPanelButton::defaultColor() const
|
||||
|
||||
void RDPanelButton::setDefaultColor(QColor color)
|
||||
{
|
||||
if(color==button_default_color) {
|
||||
return;
|
||||
}
|
||||
button_default_color=color;
|
||||
if(playDeck()==NULL) {
|
||||
setColor(color);
|
||||
@@ -151,9 +148,6 @@ void RDPanelButton::setStartSource(RDLogLine::StartSource src)
|
||||
|
||||
void RDPanelButton::setColor(QColor color)
|
||||
{
|
||||
if(color==button_color) {
|
||||
return;
|
||||
}
|
||||
button_color=color;
|
||||
if(button_flash) {
|
||||
if(color==palette().color(QPalette::Background)) {
|
||||
|
||||
Reference in New Issue
Block a user