Skip to content

Commit

Permalink
FilePluginInterface::setAtomElement() did not actually set element.
Browse files Browse the repository at this point in the history
  • Loading branch information
trisyoungs committed Feb 6, 2018
1 parent 4235fa9 commit 04c3757
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/plugins/interfaces/fileplugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,8 @@ class FilePluginInterface : public BasePluginInterface
// Find element in elements map
int el = ElementMap::find(name, standardOptions_.zMappingType() != ElementMap::nZMapTypes ? standardOptions_.zMappingType() : ElementMap::AutoZMap);

model->transmuteAtom(i, el);

// Set data in atom
i->setData(qPrintable(name));

Expand Down

0 comments on commit 04c3757

Please sign in to comment.