--- a/src/tools/selecttool.cpp Thu Mar 03 21:13:16 2022 +0200 +++ b/src/tools/selecttool.cpp Fri Mar 04 11:37:50 2022 +0200 @@ -1,8 +1,10 @@ #include "selecttool.h" -SelectTool::SelectTool(Model* model, QWidget* parent) : - BaseTool{model, parent}, - objectEditor{new ObjectEditor{model, ldraw::NULL_ID, parent}} {} +SelectTool::SelectTool(Document* document) : + BaseTool{document}, + objectEditor{new ObjectEditor{document, ldraw::NULL_ID}} +{ +} QString SelectTool::name() const {