Fix blockdata_path error check
This commit is contained in:
parent
c058794597
commit
d04f1e913a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue