From 8b839c7002841bcb24d3e41cdff80b1fd0c79c60 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Wed, 18 Jan 2017 10:15:51 +0200 Subject: [PATCH] List of pieces should also be cleared. --HG-- branch : feature --- src/libs/vpatterndb/vcontainer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libs/vpatterndb/vcontainer.cpp b/src/libs/vpatterndb/vcontainer.cpp index d8404befc..db7efea75 100644 --- a/src/libs/vpatterndb/vcontainer.cpp +++ b/src/libs/vpatterndb/vcontainer.cpp @@ -305,6 +305,8 @@ void VContainer::Clear() _id = NULL_ID; d->details->clear(); + d->pieces->clear(); + d->piecePaths->clear(); ClearVariables(); ClearGObjects(); ClearUniqueNames();