Fix blockdata_path error check

This commit is contained in:
GriffinR 2020-03-12 22:38:36 -04:00
parent c058794597
commit d04f1e913a

View file

@ -489,7 +489,7 @@ bool Project::readMapLayouts() {
return false;
}
layout->blockdata_path = layoutObj["blockdata_filepath"].toString();
if (layout->border_path.isEmpty()) {
if (layout->blockdata_path.isEmpty()) {
logError(QString("Missing 'blockdata_filepath' value on layout %1 in %2").arg(i).arg(layoutsFilepath));
return false;
}