From f01704752a130806d58355e5c8a378046b82bc54 Mon Sep 17 00:00:00 2001 From: Scott Klum Date: Thu, 25 Jul 2013 21:50:49 -0400 Subject: [PATCH] Added default value in the case a template doesn't have a subject when writing a sigset --- openbr/core/bee.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbr/core/bee.cpp b/openbr/core/bee.cpp index d9f320b..fef62d5 100644 --- a/openbr/core/bee.cpp +++ b/openbr/core/bee.cpp @@ -102,7 +102,7 @@ void BEE::writeSigset(const QString &sigset, const br::FileList &files, bool ign if ((key == "Index") || (key == "Subject")) continue; metadata.append(key+"=\""+QtUtils::toString(file.value(key))+"\""); } - lines.append("\t("Subject") +"\">"); + lines.append("\t("Subject", file.name) +"\">"); lines.append("\t\t"); lines.append("\t"); } -- libgit2 0.21.4