13
0

MCP: display label change

git-svn-id: svn://localhost/ardour2/branches/3.0@11952 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-04-12 22:17:58 +00:00
parent 454359a321
commit f04b55af3a

View File

@ -555,12 +555,10 @@ Strip::gui_selection_changed (ARDOUR::RouteNotificationListPtr rl)
{ {
for (ARDOUR::RouteNotificationList::iterator i = rl->begin(); i != rl->end(); ++i) { for (ARDOUR::RouteNotificationList::iterator i = rl->begin(); i != rl->end(); ++i) {
if ((*i) == _route) { if ((*i) == _route) {
std::cerr << "Strip " << _index << " selected, route = " << (*i)->name() << std::endl;
return _select->set_state (on); return _select->set_state (on);
} }
} }
std::cerr << "Strip " << _index << " NOT selected\n";
return _select->set_state (off); return _select->set_state (off);
} }
@ -593,7 +591,7 @@ Strip::flip_mode_changed (bool notify)
_fader->set_normal_control (_route->gain_control()); _fader->set_normal_control (_route->gain_control());
_fader->set_modified_control (boost::shared_ptr<AutomationControl>()); _fader->set_modified_control (boost::shared_ptr<AutomationControl>());
_surface->write (display (1, "PanDir")); _surface->write (display (1, "Pan"));
} }
if (notify) { if (notify) {