Commit a7eaaf58 authored by Dirk Wilden's avatar Dirk Wilden

update target counter when object is deleted

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@8573 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 0b4f2d6a
......@@ -158,6 +158,9 @@ BaseObject::~BaseObject() {
PluginFunctions::decreaseObjectCount();
if ( target() )
PluginFunctions::decreaseTargetCount();
objectManager_.objectDeleted(id());
}
......
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