summaryrefslogtreecommitdiff
path: root/gtk2_ardour/export_file_notebook.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/export_file_notebook.cc')
-rw-r--r--gtk2_ardour/export_file_notebook.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/export_file_notebook.cc b/gtk2_ardour/export_file_notebook.cc
index 2f74304ce2..0ebee83a68 100644
--- a/gtk2_ardour/export_file_notebook.cc
+++ b/gtk2_ardour/export_file_notebook.cc
@@ -308,6 +308,12 @@ void
ExportFileNotebook::FilePage::update_example_filename()
{
if (profile_manager) {
+ if (profile_manager->get_timespans().size() > 1
+ || profile_manager->get_timespans().front()->timespans->size() > 1) {
+ filename_selector.require_timespan (true);
+ } else {
+ filename_selector.require_timespan (false);
+ }
std::string example;
if (format_state->format) {