diff -r 4c7a353cf583 -r c8ecddbd99e9 src/mainwindow.cpp --- a/src/mainwindow.cpp Sat Jan 28 14:13:01 2017 +0200 +++ b/src/mainwindow.cpp Sat Jan 28 14:14:28 2017 +0200 @@ -365,7 +365,7 @@ obj->destroy(); refresh(); - return length(selCopy); + return countof(selCopy); } // --------------------------------------------------------------------------------------------------------------------- @@ -719,7 +719,7 @@ // void MainWindow::spawnContextMenu (const QPoint& position) { - const bool single = (length(selectedObjects()) == 1); + const bool single = (countof(selectedObjects()) == 1); LDObject* singleObj = single ? selectedObjects().first() : nullptr; bool hasSubfiles = false;