Fix ability to enable mappings parsed from JSON in JS

This commit is contained in:
Brad Davis 2015-11-04 11:39:34 -08:00
parent b366011d22
commit 18d2b184dc

View file

@ -1029,6 +1029,7 @@ Mapping::Pointer UserInputMapper::parseMapping(const QJsonValue& json) {
} }
mapping->routes.push_back(route); mapping->routes.push_back(route);
} }
_mappingsByName[mapping->name] = mapping;
return mapping; return mapping;
} }