mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-08-05 14:49:26 +02: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:
parent
901d93aabe
commit
876495ec4d
@ -24393,3 +24393,6 @@
|
|||||||
button in Setup mode would fail to open the 'Edit Button' dialog.
|
button in Setup mode would fail to open the 'Edit Button' dialog.
|
||||||
2023-09-27 Fred Gleason <fredg@paravelsystems.com>
|
2023-09-27 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Fixed bugs in 'RDSoundPanel' affecting drag-and-drop operation.
|
* Fixed bugs in 'RDSoundPanel' affecting drag-and-drop operation.
|
||||||
|
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.
|
||||||
|
@ -127,9 +127,6 @@ QColor RDPanelButton::defaultColor() const
|
|||||||
|
|
||||||
void RDPanelButton::setDefaultColor(QColor color)
|
void RDPanelButton::setDefaultColor(QColor color)
|
||||||
{
|
{
|
||||||
if(color==button_default_color) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
button_default_color=color;
|
button_default_color=color;
|
||||||
if(playDeck()==NULL) {
|
if(playDeck()==NULL) {
|
||||||
setColor(color);
|
setColor(color);
|
||||||
@ -151,9 +148,6 @@ void RDPanelButton::setStartSource(RDLogLine::StartSource src)
|
|||||||
|
|
||||||
void RDPanelButton::setColor(QColor color)
|
void RDPanelButton::setColor(QColor color)
|
||||||
{
|
{
|
||||||
if(color==button_color) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
button_color=color;
|
button_color=color;
|
||||||
if(button_flash) {
|
if(button_flash) {
|
||||||
if(color==palette().color(QPalette::Background)) {
|
if(color==palette().color(QPalette::Background)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user