apply fields with no target to all tags

This commit is contained in:
Martchus 2015-09-22 23:42:59 +02:00
parent 89682ea186
commit 8c1d2eaf81
1 changed files with 1 additions and 1 deletions

View File

@ -651,7 +651,7 @@ void setTagInfo(const StringVector &parameterValues, const Argument &filesArg, c
if(fieldDenotation.present
&& (fieldDenotation.tagType == TagType::Unspecified
|| (fieldDenotation.tagType | tagType) != TagType::Unspecified)
&& (!targetSupported || fieldDenotation.tagTarget == tagTarget)) {
&& (!targetSupported || fieldDenotation.tagTarget.isEmpty() || fieldDenotation.tagTarget == tagTarget)) {
pair<unsigned int, QString> *selectedDenotatedValue = nullptr;
for(auto &someDenotatedValue : fieldDenotation.values) {
if(someDenotatedValue.first <= fileIndex) {