PartDesign: Fillet Draft Chamfer Thickness : Add warning message on empty feature creation

This commit is contained in:
Paddle
2023-03-24 14:42:16 +01:00
parent 47cc265b4f
commit d896d00d48
6 changed files with 30 additions and 0 deletions

View File

@@ -318,6 +318,10 @@ void TaskChamferParameters::apply()
ui->chamferAngle->apply();
break;
}
//Alert user if he created an empty feature
if (ui->listWidgetReferences->count() == 0)
Base::Console().Warning(tr("Empty chamfer created !\n").toStdString().c_str());
}
//**************************************************************************