Fem: Clean-up code

This commit is contained in:
wmayer
2024-06-18 19:58:16 +02:00
parent b7e0313591
commit 57489af043
4 changed files with 7 additions and 12 deletions

View File

@@ -45,9 +45,7 @@ bool ViewProviderSetElementNodes::doubleClicked()
bool ViewProviderSetElementNodes::setEdit(int)
{
Gui::TaskView::TaskDialog* dlg =
new TaskDlgCreateElementSet(static_cast<Fem::FemSetElementNodesObject*>(getObject()));
Gui::Control().showDialog(dlg);
doubleClicked();
return true;
}