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 bc22bf9c0d
commit 27481a68eb
6 changed files with 30 additions and 0 deletions

View File

@@ -188,6 +188,10 @@ void TaskFilletParameters::apply()
//Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Fillet changed"));
ui->filletRadius->apply();
//Alert user if he created an empty feature
if(ui->listWidgetReferences->count() == 0)
Base::Console().Warning(tr("Empty fillet created !\n").toStdString().c_str());
}
//**************************************************************************