refs #369, prepend function for properties

This commit is contained in:
Klaus Basan
2015-02-02 17:43:55 +01:00
parent cec59c5d72
commit 8e8f9e4804
4 changed files with 25 additions and 0 deletions

View File

@@ -114,4 +114,11 @@ namespace BlackMisc
return list;
}
void CPropertyIndex::prepend(int newLeftIndex)
{
QList<int> newList = indexList();
newList.prepend(newLeftIndex);
this->setIndexStringByList(newList);
}
} // namespace