diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-08-06 01:04:03 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-08-06 01:04:03 +0000 |
commit | 1ad76a6c10b9bfc74b22536b8bb86a851263b9d4 (patch) | |
tree | 40947ce514d1896a3e4ee82214332b36221204c5 /gtk2_ardour/option_editor.cc | |
parent | e62f14e707e15df962952f571dec1179b1c6976c (diff) |
fix resetting MMC send + recv ID
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2252 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/option_editor.cc')
-rw-r--r-- | gtk2_ardour/option_editor.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gtk2_ardour/option_editor.cc b/gtk2_ardour/option_editor.cc index 7b5a115794..c81423dab8 100644 --- a/gtk2_ardour/option_editor.cc +++ b/gtk2_ardour/option_editor.cc @@ -705,9 +705,7 @@ OptionEditor::mmc_receive_device_id_adjusted () { uint8_t id = (uint8_t) mmc_receive_device_id_spinner.get_value(); - if (id != Config->get_mmc_receive_device_id()) { - Config->set_mmc_receive_device_id (id); - } + Config->set_mmc_receive_device_id (id); } void @@ -715,9 +713,9 @@ OptionEditor::mmc_send_device_id_adjusted () { uint8_t id = (uint8_t) mmc_send_device_id_spinner.get_value(); - if (id != Config->get_mmc_send_device_id()) { - Config->set_mmc_send_device_id (id); - } + cerr << "New send ID = " << (int) id << endl; + + Config->set_mmc_send_device_id (id); } void |