summaryrefslogtreecommitdiff
path: root/gtk2_ardour/export_dialog.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/export_dialog.cc')
-rw-r--r--gtk2_ardour/export_dialog.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk2_ardour/export_dialog.cc b/gtk2_ardour/export_dialog.cc
index eba1fdbd14..861a1d3270 100644
--- a/gtk2_ardour/export_dialog.cc
+++ b/gtk2_ardour/export_dialog.cc
@@ -488,6 +488,15 @@ ExportDialog::set_state()
channels_chosen();
sample_rate_chosen();
+ //header_chosen initializes the file_entry text. we need to clear it so it will be set to the default, and/or recover the val that was stored in instant.xml
+ file_entry.set_text("");
+ if (node) {
+ if ((prop = node->property (X_("filename"))) != 0) {
+ file_entry.set_text(prop->value());
+ }
+ }
+
+
if (session->master_out()) {
track_scroll.hide ();
} else {