ObjectVectorProperty: add reverseInternal()

New function which reverses the items order
Dieser Commit ist enthalten in:
Filippo Gentile 2023-05-04 15:51:56 +02:00
Ursprung 9945f23155
Commit 781f5b20e3

Datei anzeigen

@ -123,6 +123,12 @@ class ObjectVectorProperty : public AbstractObjectVectorProperty
} }
} }
void reverseInternal()
{
std::reverse(m_values.begin(), m_values.end());
changed();
}
void clearInternal() void clearInternal()
{ {
if(empty()) if(empty())