--- a/src/toolsets/basictoolset.cpp Sat Jan 28 13:49:09 2017 +0200 +++ b/src/toolsets/basictoolset.cpp Sat Jan 28 14:01:19 2017 +0200 @@ -261,11 +261,11 @@ void BasicToolset::edit() { - if (selectedObjects().size() != 1) - return; - - LDObject* obj = selectedObjects().first(); - AddObjectDialog::staticDialog (obj->type(), obj); + if (length(selectedObjects()) == 1) + { + LDObject* obj = selectedObjects().first(); + AddObjectDialog::staticDialog (obj->type(), obj); + } } void BasicToolset::modeSelect()