LuaProc::can_support_io_configuration: don't mix int and int32_t
[ardour.git] / gtk2_ardour / export_file_notebook.cc
index 2f74304ce241d61529b53580cf74f60432227883..8e37356d0d7be6fbe112aeeacba60d690251ed0c 100644 (file)
@@ -24,7 +24,7 @@
 
 #include "gui_thread.h"
 #include "utils.h"
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace ARDOUR;
 using namespace ARDOUR_UI_UTILS;
@@ -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) {