possible fix up for ::set_io() pan botch up

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3979 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2008-10-17 11:06:34 +00:00
parent e5e0ceec92
commit 6f6e729427

View file

@ -153,6 +153,8 @@ PannerUI::set_io (boost::shared_ptr<IO> io)
delete panner;
panner = 0;
}
setup_pan ();
pan_changed (0);
update_pan_sensitive ();
@ -555,6 +557,7 @@ PannerUI::pan_changed (void *src)
break;
case 2:
/* bring pan bar state up to date */
update_pan_bars (false);
break;
@ -788,7 +791,7 @@ PannerUI::pan_automation_state_changed ()
pan_watching.disconnect();
if (x) {
pan_watching = ARDOUR_UI::RapidScreenUpdate.connect (mem_fun (*this, &PannerUI::effective_pan_display));
pan_watching = ARDOUR_UI::RapidScreenUpdate.connect (mem_fun (*this, &PannerUI::effective_pan_display));
}
}