Core: Placement dialog
+ replace separate buttons with QDialogButtonBox + add convenience method setPlacementAndBindObject + use const DocumentObject
This commit is contained in:
@@ -53,7 +53,7 @@ SelectionObject::SelectionObject(const Gui::SelectionChanges& msg)
|
||||
}
|
||||
}
|
||||
|
||||
SelectionObject::SelectionObject(App::DocumentObject* obj)
|
||||
SelectionObject::SelectionObject(const App::DocumentObject* obj)
|
||||
{
|
||||
FeatName = obj->getNameInDocument();
|
||||
DocName = obj->getDocument()->getName();
|
||||
|
||||
Reference in New Issue
Block a user