OS X specific fix, to match new mixer TreeModel structure
authorPaul Davis <paul@linuxaudiosystems.com>
Sun, 5 Jun 2016 22:00:28 +0000 (18:00 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Sun, 5 Jun 2016 22:00:48 +0000 (18:00 -0400)
gtk2_ardour/mixer_ui.cc

index 2518290cf7461f7489ed904c39e781266e2310ec..55bfbf8589ac0959369c412b5aa36213266eab0d 100644 (file)
@@ -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;