--- a/src/editmodes/selectMode.cpp Sun Mar 18 12:00:39 2018 +0200 +++ b/src/editmodes/selectMode.cpp Sun Mar 18 12:33:29 2018 +0200 @@ -21,7 +21,7 @@ #include "../canvas.h" #include "../mainwindow.h" #include "../lddocument.h" -#include "../widgets/vertexobjecteditor.h" +#include "../guiutilities.h" SelectMode::SelectMode (Canvas* canvas) : Super (canvas), @@ -134,10 +134,8 @@ if (index.isValid()) { - // TODO: LDObject* object = currentDocument()->lookup(index); - VertexObjectEditor editor {object}; - editor.exec(); + ::editObject(this->m_window, object); m_window->endAction(); return true; }