Tue, 03 Apr 2018 17:37:33 +0300
refactor
src/toolsets/basictoolset.cpp | file | annotate | diff | comparison | revisions |
--- a/src/toolsets/basictoolset.cpp Tue Apr 03 17:34:13 2018 +0300 +++ b/src/toolsets/basictoolset.cpp Tue Apr 03 17:37:33 2018 +0300 @@ -279,10 +279,7 @@ void BasicToolset::edit() { if (countof(selectedObjects()) == 1) - { - LDObject* object = *selectedObjects().begin(); - ::editObject(this->m_window, object); - } + ::editObject(this->m_window, *selectedObjects().begin()); } void BasicToolset::modeSelect()