summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_ops.cc
diff options
context:
space:
mode:
authorNikolaus Gullotta <nik@harrisonconsoles.com>2019-08-30 12:40:28 -0500
committerNikolaus Gullotta <nik@harrisonconsoles.com>2019-08-30 12:40:28 -0500
commitd5988b232c63ed35d20101ee8917c4e2a0596603 (patch)
treec58a5cdad03b560e742f9bf2870d3fa006b8957b /gtk2_ardour/editor_ops.cc
parentdab29eb8ade18259cf501d155cec012b85f22c9b (diff)
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()
Diffstat (limited to 'gtk2_ardour/editor_ops.cc')
-rw-r--r--gtk2_ardour/editor_ops.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc
index 99e7d1133a..0b9c7a33de 100644
--- a/gtk2_ardour/editor_ops.cc
+++ b/gtk2_ardour/editor_ops.cc
@@ -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());
}
}