mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-06-03 01:22:42 +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:
parent
4078d589b1
commit
cfeaa92c37
@ -14524,3 +14524,6 @@
|
||||
2014-10-07 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Added a 'Report' button to RDGpiMon(1) in
|
||||
'utils/rdgpimon/rdgpimon.cpp' and 'utils/rdgpimon/rdgpimon.h'.
|
||||
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.
|
||||
|
@ -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());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user