put to union field did not call postPut.

This commit is contained in:
Marty Kraimer
2014-05-21 16:18:38 -04:00
parent 0ceb87eee1
commit 3c912c3812
2 changed files with 2 additions and 1 deletions

View File

@@ -471,7 +471,7 @@ void Convert::copyUnion(PVUnionPtr const & from, PVUnionPtr const & to)
if (fromValue.get() == 0)
to->select(PVUnion::UNDEFINED_INDEX);
else
copy(fromValue, to->select(from->getSelectedIndex()));
to->set(from->getSelectedFieldName(),from->get());
}
}