Commit 9d23e2ef authored by Thomas Zander's avatar Thomas Zander

deleting a shape will now make sure its removed from the shapeManagers so we...

deleting a shape will now make sure its removed from the shapeManagers so we don't get any crashes due to drawing deleted shapes

svn path=/trunk/koffice/; revision=681535
parent c54c78f1
......@@ -70,6 +70,8 @@ public:
}
~Private() {
foreach(KoShapeManager *manager, shapeManagers)
manager->remove(me);
delete userData;
delete appData;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment