diff --git a/containments/desktop/plugins/folder/positioner.cpp b/containments/desktop/plugins/folder/positioner.cpp --- a/containments/desktop/plugins/folder/positioner.cpp +++ b/containments/desktop/plugins/folder/positioner.cpp @@ -325,7 +325,11 @@ { if (m_folderModel) { if (m_enabled) { - return lastRow() + 1; + if (parent.isValid()) { + return 0; + } else { + return lastRow() + 1; + } } else { return m_folderModel->rowCount(parent); }