From 8b0ed18e51ac6b76f26055c72edccec1824fc8b7 Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Fri, 1 Mar 2013 13:38:24 -0500 Subject: [PATCH] fixed bug where Globals->classes should be repopulated --- sdk/openbr_plugin.cpp | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) 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 */ -- libgit2 0.21.4