From 04c37572d24dd48616e7c5abdb371ef42ea8089d Mon Sep 17 00:00:00 2001 From: Tristan Youngs Date: Tue, 6 Feb 2018 15:13:41 +0000 Subject: [PATCH] FilePluginInterface::setAtomElement() did not actually set element. --- src/plugins/interfaces/fileplugin.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/interfaces/fileplugin.h b/src/plugins/interfaces/fileplugin.h index cbb7fe90b..b8bc1d297 100644 --- a/src/plugins/interfaces/fileplugin.h +++ b/src/plugins/interfaces/fileplugin.h @@ -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));