Only display pull-up/down if it's being used.

This commit is contained in:
Robin Gareus 2017-01-01 16:14:59 +01:00
parent 607e7f3b9e
commit f1abc95927

View File

@ -987,7 +987,7 @@ AudioClock::set_frames (framepos_t when, bool /*force*/)
float vid_pullup = _session->config.get_video_pullup();
if (vid_pullup == 0.0) {
_right_btn.set_text (string_compose ("%1 off", _("Pull")));
_right_btn.set_text ("");
} else {
sprintf (buf, _("%+.4f%%"), vid_pullup);
_right_btn.set_text (string_compose ("%1 %2", _("Pull"), buf));