Fix duplicate variants in packages.

This commit is contained in:
James Turner 2016-12-15 17:35:36 +00:00
parent a2b111bb09
commit 8c4695b991

View File

@ -58,6 +58,7 @@ void Package::initWithProps(const SGPropertyNode* aProps)
void Package::updateFromProps(const SGPropertyNode* aProps) void Package::updateFromProps(const SGPropertyNode* aProps)
{ {
m_tags.clear(); m_tags.clear();
m_variants.clear();
initWithProps(aProps); initWithProps(aProps);
} }