fix export file path initialization

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6479 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Ben Loftis 2010-01-12 22:30:55 +00:00
parent e78cd3add8
commit d4f376779d

View file

@ -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 {