[FEM] fix special Dlg issue with deletion

- if an existing constraint has only one item, the item could under some circumstances not be deleted by pressing Del
This commit is contained in:
donovaly
2020-02-21 03:03:15 +01:00
committed by Bernd Hahnebach
parent 3574182c13
commit 288456ee4b
7 changed files with 14 additions and 5 deletions

View File

@@ -79,6 +79,8 @@ TaskFemConstraintTransform::TaskFemConstraintTransform(ViewProviderFemConstraint
connect(ui->lw_Rect, SIGNAL(currentItemChanged(QListWidgetItem*,QListWidgetItem*)),
this, SLOT(setSelection(QListWidgetItem*)));
connect(ui->lw_Rect, SIGNAL(itemClicked(QListWidgetItem*)),
this, SLOT(setSelection(QListWidgetItem*)));
this->groupLayout()->addWidget(proxy);