diff options
author | Julien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr> | 2016-07-20 02:01:16 +0200 |
---|---|---|
committer | Julien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr> | 2016-07-20 02:01:40 +0200 |
commit | 85cdff7cb01dc7a9bb61200d36b9b7c11c9e75d1 (patch) | |
tree | 812ed74d3e7f2a12509a80b6d078833542ed61bc | |
parent | f371ac1beb035716ef2e1def831a61bd4b5020c2 (diff) |
Use the new do_export() method when asked to export
-rw-r--r-- | gtk2_ardour/editor_export_audio.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk2_ardour/editor_export_audio.cc b/gtk2_ardour/editor_export_audio.cc index 795091fb41..c1def2ba29 100644 --- a/gtk2_ardour/editor_export_audio.cc +++ b/gtk2_ardour/editor_export_audio.cc @@ -125,9 +125,7 @@ Editor::process_midi_export_dialog (MidiExportDialog& dialog, boost::shared_ptr< ::g_unlink (path.c_str()); } - (void) midi_region->clone (path); - - return true; + return midi_region->do_export (path); } /** Export the first selected region */ |