13
0

Do not highlight momentarily recalled scenes

Since momentary override is a singleton, it needs to remain
GUI only, and not a session API available to any UI.

The middle-clicked button is rendered as pressed. So it is
already obvious and the Changed() signal that is emitted
when temporarily restoring a scene can simply be ignored.
This commit is contained in:
Robin Gareus 2022-11-10 20:58:45 +01:00
parent 235d51a723
commit 9153521f4a
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -4164,6 +4164,10 @@ Mixer_UI::scene_label_press (GdkEventButton* ev, int idx)
void
Mixer_UI::update_scene_buttons ()
{
if (_mixer_scene_release) {
/* do not change highlight for momentary scene */
return;
}
bool all_unset = true;
for (size_t idx = 0; idx < _mixer_scene_buttons.size (); ++idx) {
boost::shared_ptr<MixerScene> scn;