--- a/src/ldtypes.cpp Tue Oct 22 19:22:15 2013 +0300 +++ b/src/ldtypes.cpp Tue Oct 22 19:28:45 2013 +0300 @@ -344,7 +344,7 @@ // ============================================================================= // ----------------------------------------------------------------------------- void LDObject::moveObjects (QList<LDObject*> objs, const bool up) -{ if (objs.size() == 0) +{ if (objs.isEmpty()) return; // If we move down, we need to iterate the array in reverse order. @@ -397,7 +397,7 @@ { bool firstDetails = true; str text = ""; - if (objs.size() == 0) + if (objs.isEmpty()) return "nothing"; // :) for (long i = 0; i < LDObject::NumTypes; ++i) @@ -416,7 +416,8 @@ str noun = fmt ("%1%2", typeName (objType), plural (count)); - // Plural of "vertex" is "vertices". Stupid English. + // Plural of "vertex" is "vertices", correct that + if (objType == LDObject::Vertex && count != 1) noun = "vertices";