diff --git a/sdk/openbr_plugin.cpp b/sdk/openbr_plugin.cpp index 3b5ed91..93422ce 100644 --- a/sdk/openbr_plugin.cpp +++ b/sdk/openbr_plugin.cpp @@ -349,6 +349,8 @@ QDataStream &br::operator<<(QDataStream &stream, const File &file) QDataStream &br::operator>>(QDataStream &stream, File &file) { return stream >> file.name >> file.m_metadata; + const QVariant label = file.m_metadata.value("Label"); + if (!label.isNull()) file.set("Label", label); // Trigger population of Globals->classes } /* FileList - public methods */