mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 01:45:38 +08:00
refs #369, prepend function for properties
This commit is contained in:
@@ -114,4 +114,11 @@ namespace BlackMisc
|
||||
return list;
|
||||
}
|
||||
|
||||
void CPropertyIndex::prepend(int newLeftIndex)
|
||||
{
|
||||
QList<int> newList = indexList();
|
||||
newList.prepend(newLeftIndex);
|
||||
this->setIndexStringByList(newList);
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user