13
0

preference item for auto-return-after-rewind-ffwd

This commit is contained in:
Paul Davis 2021-05-06 11:40:10 -06:00
parent c47f5eb951
commit 05d8545655

View File

@ -3399,6 +3399,19 @@ These settings will only take effect after %1 is restarted.\n\
add_option (_("Transport"), bo);
bo = new BoolOption (
"auto-return-after-rewind-ffwd",
_("Allow auto-return after rewind/ffwd operations"),
sigc::mem_fun (*_rc_config, &RCConfiguration::get_auto_return_after_rewind_ffwd),
sigc::mem_fun (*_rc_config, &RCConfiguration::set_auto_return_after_rewind_ffwd)
);
Gtkmm2ext::UI::instance()->set_tip (bo->tip_widget(),
_("<b>When enabled</b> if auto-return is enabled, the playhead will auto-return after rewind/ffwd operations\n\n"
"<b>When disabled</b> the playhead will never auto-return after rewind/ffwd operations")
);
add_option (_("Transport"), bo);
ComboOption<float>* psc = new ComboOption<float> (
"preroll-seconds",
_("Preroll"),