don't both with LTC parameter changes if HAVE_LTC is not set

git-svn-id: svn://localhost/ardour2/branches/3.0@13339 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-10-25 17:34:00 +00:00
parent 8cff3d0e60
commit 5e4d2afbe8

View file

@ -1786,10 +1786,12 @@ RCOptionEditor::parameter_changed (string const & p)
_sync_framerate->set_sensitive (false);
break;
}
#ifdef HAVE_LTC
} else if (p == "send-ltc") {
bool const s = Config->get_send_ltc ();
_ltc_send_continuously->set_sensitive (s);
_ltc_volume_slider->set_sensitive (s);
#endif /*HAVE_LTC*/
}
}