Use the new do_export() method when asked to export
This commit is contained in:
parent
f371ac1beb
commit
85cdff7cb0
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user