Skip to content

Commit

Permalink
Fix adopting hotcue button color
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer committed Feb 10, 2024
1 parent f6a0c87 commit f35d7cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/engine/controls/cuecontrol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2693,9 +2693,10 @@ mixxx::RgbColor::optional_t HotcueControl::getColor() const {
void HotcueControl::setColor(mixxx::RgbColor::optional_t newColor) {
// qDebug() << "HotcueControl::setColor()" << newColor;
if (newColor) {
m_hotcueColor->set(*newColor);
m_hotcueColor->setAndConfirm(*newColor);
}
}

void HotcueControl::resetCue() {
// clear pCue first because we have a null check for valid data else where
// in the code
Expand Down

0 comments on commit f35d7cf

Please sign in to comment.