Skip to content

Commit

Permalink
Fixed combination button lighting when a crescendo was in the Overrid…
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg68 authored Sep 23, 2024
1 parent 35d880a commit 62aa3a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- Fixed combination button lighting when a crescendo was in the Override=Off mode https://github.com/GrandOrgue/grandorgue/issues/1935
# 3.15.1 (2024-09-03)
- Fixed saving of Settings->Paths https://github.com/GrandOrgue/grandorgue/issues/1907
- Fixed crash on releasing a key of any Binauralpipes organ https://github.com/GrandOrgue/grandorgue/issues/1986
Expand Down
6 changes: 3 additions & 3 deletions src/grandorgue/combinations/GOSetter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1025,8 +1025,8 @@ void GOSetter::PushGeneral(
= GetCrescendoAddSet(elementSet);

NotifyCmbPushed(cmb.Push(m_state, pExtraSet));
if (!pExtraSet) { // Otherwise the crescendo in add mode:
// not to switch off combination buttons
if (pButtonToLight || !pExtraSet) { // Otherwise the crescendo in add mode:
// not to switch off combination buttons
UpdateAllSetsButtonsLight(pButtonToLight, -1);
}
}
Expand All @@ -1042,7 +1042,7 @@ void GOSetter::PushDivisional(
= GetCrescendoAddSet(elementSet);

NotifyCmbPushed(cmb.Push(m_state, pExtraSet));
if (!pExtraSet)
if (pButtonToLight || !pExtraSet)
UpdateAllSetsButtonsLight(pButtonToLight, cmbManual);
}
}
Expand Down

0 comments on commit 62aa3a9

Please sign in to comment.