Add settings retention to StripSilenceDialog

StripSilenceDialog will now retain its threshold, minimum length, and
fade length values from run to run.

This is done via Session::add_extra_xml() and recalled during the
construction of StripSilenceDialog via Session::extra_xml()
This commit is contained in:
Nikolaus Gullotta 2019-08-30 12:40:28 -05:00
parent dab29eb8ad
commit d5988b232c
3 changed files with 39 additions and 3 deletions

View file

@ -5522,6 +5522,7 @@ Editor::strip_region_silence ()
StripSilence s (*_session, silences, d.fade_length());
apply_filter (s, _("strip silence"), &d);
_session->add_extra_xml(d.get_state());
}
}