pt import: Correct the log warning message when at least one audio file failed to load

This commit is contained in:
Damien Zammit 2021-01-10 14:43:39 +11:00
parent 2645ab2e73
commit 772512a62d
2 changed files with 3 additions and 1 deletions

View File

@ -113,7 +113,7 @@ Editor::external_pt_dialog ()
} else {
import_pt_status.progress = 1.0;
_session->import_pt_rest (import_ptf);
MessageDialog msg (_("PT import complete!"));
MessageDialog msg (_("PT import completed!\nSee log for specifics"));
msg.run ();
}
}

View File

@ -240,6 +240,8 @@ Session::import_pt_sources (PTFFormat& ptf, ImportStatus& status)
ptfwavpair.push_back (p);
pt_imported_sources.push_back (just_one_src.back ());
} else {
onefailed = true;
}
}