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:
parent
235d51a723
commit
9153521f4a
@ -4164,6 +4164,10 @@ Mixer_UI::scene_label_press (GdkEventButton* ev, int idx)
|
|||||||
void
|
void
|
||||||
Mixer_UI::update_scene_buttons ()
|
Mixer_UI::update_scene_buttons ()
|
||||||
{
|
{
|
||||||
|
if (_mixer_scene_release) {
|
||||||
|
/* do not change highlight for momentary scene */
|
||||||
|
return;
|
||||||
|
}
|
||||||
bool all_unset = true;
|
bool all_unset = true;
|
||||||
for (size_t idx = 0; idx < _mixer_scene_buttons.size (); ++idx) {
|
for (size_t idx = 0; idx < _mixer_scene_buttons.size (); ++idx) {
|
||||||
boost::shared_ptr<MixerScene> scn;
|
boost::shared_ptr<MixerScene> scn;
|
||||||
|
Loading…
Reference in New Issue
Block a user