summaryrefslogtreecommitdiff
path: root/libs/surfaces
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-09-25 19:10:26 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2016-09-27 14:59:32 -0500
commit0cd60747a5df97d4b669092994bd73849ec08a0b (patch)
tree574ae64670c519d1430fec8bd267b29b3c5683a1 /libs/surfaces
parent33015a7173ef790746a340cc39a1242a03dc015b (diff)
push2: fix issue with solo/mute display when entering mix layout
Diffstat (limited to 'libs/surfaces')
-rw-r--r--libs/surfaces/push2/buttons.cc2
-rw-r--r--libs/surfaces/push2/track_mix.cc4
2 files changed, 4 insertions, 2 deletions
diff --git a/libs/surfaces/push2/buttons.cc b/libs/surfaces/push2/buttons.cc
index 3bb310c677..572bb875ad 100644
--- a/libs/surfaces/push2/buttons.cc
+++ b/libs/surfaces/push2/buttons.cc
@@ -737,6 +737,8 @@ Push2::button_master ()
if (_current_layout != track_mix_layout) {
set_current_layout (track_mix_layout);
+ } else {
+ set_current_layout (_previous_layout);
}
}
diff --git a/libs/surfaces/push2/track_mix.cc b/libs/surfaces/push2/track_mix.cc
index 67602a809a..50688a008f 100644
--- a/libs/surfaces/push2/track_mix.cc
+++ b/libs/surfaces/push2/track_mix.cc
@@ -182,8 +182,6 @@ TrackMixLayout::selection_changed ()
void
TrackMixLayout::show ()
{
- selection_changed ();
-
Push2::ButtonID lower_buttons[] = { Push2::Lower1, Push2::Lower2, Push2::Lower3, Push2::Lower4,
Push2::Lower5, Push2::Lower6, Push2::Lower7, Push2::Lower8 };
@@ -194,6 +192,8 @@ TrackMixLayout::show ()
p2.write (b->state_msg());
}
+ selection_changed ();
+
Container::show ();
}