diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-08-01 22:18:46 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-08-01 22:18:46 +0000 |
commit | 6698f5f686bef82b0c9568558c83a3b9b3344700 (patch) | |
tree | b955303ea57c1105183bed2891533b06aebb8c24 /gtk2_ardour/ardour_ui2.cc | |
parent | 4d1542d1e59737fb3f6464ebb5638ca64cb985e8 (diff) |
use XML state to store processors in mixer (strips) and fixup crash caused by missing AutomationController for integer LADSPA plugin params
git-svn-id: svn://localhost/ardour2/trunk@2215 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_ui2.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui2.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk2_ardour/ardour_ui2.cc b/gtk2_ardour/ardour_ui2.cc index be7fbb5f09..5a4c676cad 100644 --- a/gtk2_ardour/ardour_ui2.cc +++ b/gtk2_ardour/ardour_ui2.cc @@ -835,7 +835,11 @@ void ARDOUR_UI::sync_option_changed () { if (session) { - session->request_slave_source (string_to_slave_source (sync_option_combo.get_active_text())); + ustring txt = sync_option_combo.get_active_text (); + if (txt.length()) { + cerr << "Changing to slave source based on " << txt << endl; + session->request_slave_source (string_to_slave_source (txt)); + } } } |