Don't try to scroll to stripables on different panes
authorRobin Gareus <robin@gareus.org>
Wed, 21 Dec 2016 09:59:58 +0000 (10:59 +0100)
committerRobin Gareus <robin@gareus.org>
Wed, 21 Dec 2016 09:59:58 +0000 (10:59 +0100)
gtk2_ardour/mixer_ui.cc

index 20772ecfabc7362bf795305ca7533bc28c9cb8c5..9e5d6e23c63189acf6993047fbda83cdf6084e57 100644 (file)
@@ -1516,6 +1516,10 @@ Mixer_UI::move_stripable_into_view (boost::shared_ptr<ARDOUR::Stripable> s)
        if (!scroller.get_hscrollbar()) {
                return;
        }
+       if (s->presentation_info().special () || s->presentation_info().flag_match (PresentationInfo::VCA)) {
+               return;
+       }
+
        bool found = false;
        int x0 = 0;
        for (list<MixerStrip *>::const_iterator i = strips.begin(); i != strips.end(); ++i) {