mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 17:13:47 +02:00
2014-10-08 Fred Gleason <fredg@paravelsystems.com>
* Added code in 'utils/rdimport/rdimport.cpp' to ensure that imports do not end up with an empty cut description field.
This commit is contained in:
@@ -965,6 +965,9 @@ MainObject::Result MainObject::ImportFile(const QString &filename,
|
||||
cart->setTitle(wavedata->cutId());
|
||||
}
|
||||
}
|
||||
if(cut->description().isEmpty()) { // Final backstop, so we don't end up
|
||||
cut->setDescription(cart->title()); // with an empty description field.
|
||||
}
|
||||
if(!import_metadata_pattern.isEmpty()) {
|
||||
cart->setTitle(wavedata->title());
|
||||
}
|
||||
|
Reference in New Issue
Block a user