summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-06-05 18:00:28 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-06-05 18:00:48 -0400
commit6adac6032376e12f90f0c480ceded1ff811b9d1e (patch)
tree0568bde5d2c4d6141441451a1b548cf6eefa07bf
parent5bbfac23808ea943f57857397ba3aed690432698 (diff)
OS X specific fix, to match new mixer TreeModel structure
-rw-r--r--gtk2_ardour/mixer_ui.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/mixer_ui.cc b/gtk2_ardour/mixer_ui.cc
index 2518290cf7..55bfbf8589 100644
--- a/gtk2_ardour/mixer_ui.cc
+++ b/gtk2_ardour/mixer_ui.cc
@@ -1358,7 +1358,8 @@ Mixer_UI::strip_width_changed ()
long order;
for (order = 0, i = rows.begin(); i != rows.end(); ++i, ++order) {
- MixerStrip* strip = (*i)[stripable_columns.strip];
+ AxisView* av = (*i)[stripable_columns.strip];
+ MixerStrip* strip = dynamic_cast<MixerStrip*> (av);
if (strip == 0) {
continue;