Port attachment UI to Part for general use

Furthermore change PartDesign primitives to use the new task dialog
This commit is contained in:
Stefan Tröger
2016-12-07 06:23:54 +01:00
parent bc133e4de2
commit b758df7193
11 changed files with 1329 additions and 1177 deletions

View File

@@ -236,7 +236,7 @@ bool ViewProviderDatum::setEdit(int ModNum)
// the task panel
Gui::TaskView::TaskDialog *dlg = Gui::Control().activeDialog();
TaskDlgDatumParameters *datumDlg = qobject_cast<TaskDlgDatumParameters *>(dlg);
if (datumDlg && datumDlg->getDatumView() != this)
if (datumDlg && datumDlg->getViewProvider() != this)
datumDlg = 0; // another datum feature left open its task panel
if (dlg && !datumDlg) {
QMessageBox msgBox;