Tue, 03 Apr 2018 17:34:13 +0300
fixed "edit selected object" not editing non-vertex objects
src/toolsets/basictoolset.cpp | file | annotate | diff | comparison | revisions |
--- a/src/toolsets/basictoolset.cpp Tue Apr 03 17:32:02 2018 +0300 +++ b/src/toolsets/basictoolset.cpp Tue Apr 03 17:34:13 2018 +0300 @@ -280,12 +280,8 @@ { if (countof(selectedObjects()) == 1) { - LDObject* obj = *selectedObjects().begin(); - if (obj->numVertices() > 0) - { - VertexObjectEditor editor {obj}; - editor.exec(); - } + LDObject* object = *selectedObjects().begin(); + ::editObject(this->m_window, object); } }