summaryrefslogtreecommitdiff
path: root/gtk2_ardour/export_format_dialog.cc
diff options
context:
space:
mode:
authorSakari Bergen <sakari.bergen@beatwaves.net>2010-12-18 19:27:04 +0000
committerSakari Bergen <sakari.bergen@beatwaves.net>2010-12-18 19:27:04 +0000
commit94c69b3c915c3fa8f8029e514240bca5bdb90def (patch)
treedf8a37f0596992bc72219da5b53b2cb02f9f0eab /gtk2_ardour/export_format_dialog.cc
parentffadfff6506e507b09853e4c7e50bcedffa29cce (diff)
Finally implement position aware silence adding in export (i.e. bbt times are converted to frames correctly)
This will work when Session::convert_to_frames_at is fixed :) git-svn-id: svn://localhost/ardour2/branches/3.0@8295 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/export_format_dialog.cc')
-rw-r--r--gtk2_ardour/export_format_dialog.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/export_format_dialog.cc b/gtk2_ardour/export_format_dialog.cc
index 5fa8333116..ceea2b1082 100644
--- a/gtk2_ardour/export_format_dialog.cc
+++ b/gtk2_ardour/export_format_dialog.cc
@@ -228,11 +228,11 @@ ExportFormatDialog::load_state (FormatPtr spec)
trim_start_checkbox.set_active (spec->trim_beginning());
silence_start = spec->silence_beginning_time();
- silence_start_checkbox.set_active (spec->silence_beginning() > 0);
+ silence_start_checkbox.set_active (spec->silence_beginning_time().not_zero());
trim_end_checkbox.set_active (spec->trim_end());
silence_end = spec->silence_end_time();
- silence_end_checkbox.set_active (spec->silence_end() > 0);
+ silence_end_checkbox.set_active (spec->silence_end_time().not_zero());
for (Gtk::ListStore::Children::iterator it = src_quality_list->children().begin(); it != src_quality_list->children().end(); ++it) {
if (it->get_value (src_quality_cols.id) == spec->src_quality()) {