[TD]GeomHatch - handle empty parameter
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user