diff -r d389af23fbfa -r 689121d162b6 src/toolsets/basictoolset.cpp --- 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()