src: replaced filters with NodeTypeSet

This commit is contained in:
mlangkabel
2017-11-27 10:57:26 +01:00
parent 2b2c3e1194
commit 6e3216e067
25 changed files with 346 additions and 137 deletions
@@ -34,7 +34,7 @@ void CodeController::handleMessage(MessageActivateAll* message)
clear();
Project* currentProject = Application::getInstance()->getCurrentProject().get();
if (!currentProject || message->filter)
if (!currentProject || message->acceptedNodeTypes != NodeTypeSet::all())
{
return;
}