Gui: refactor and modernize code of Placement dialog

This commit is contained in:
wmayer
2022-10-27 00:28:55 +02:00
parent 4d8e61549d
commit 4e643dcec3
6 changed files with 109 additions and 26 deletions

View File

@@ -2487,6 +2487,7 @@ void PlacementEditor::browse()
}
task->setPlacement(value().value<Base::Placement>());
task->setPropertyName(propertyname);
task->setSelection(Gui::Selection().getSelectionEx());
task->bindObject();
Gui::Control().showDialog(task);
}