[TD]GeomHatch - handle empty parameter

This commit is contained in:
wandererfan
2020-03-20 14:09:23 -04:00
committed by WandererFan
parent 54cd3b8130
commit d210c14167
2 changed files with 7 additions and 1 deletions

View File

@@ -82,7 +82,7 @@ void TaskGeomHatch::initUi()
if (nameIndex > -1) {
ui->cbName->setCurrentIndex(nameIndex);
} else {
Base::Console().Warning("Warning - Pattern name not found in current PAT File\n");
Base::Console().Warning("Warning - Pattern name *%s* not found in current PAT File\n", m_name.c_str());
}
ui->sbScale->setValue(m_scale);
ui->sbWeight->setValue(m_weight);