Tags can never include a comma

And no, I don't want "\," to be legal in our tag, either. Way too much
pain for way too little gain.

Fixes #560

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-07-10 09:24:57 -07:00
parent 38403f6c98
commit 634df1a337

View file

@ -86,7 +86,7 @@ void GroupedLineEdit::addBlock(int start, int end)
Private::Block block;
block.start = start;
block.end = end;
block.text = text().mid(start, end - start + 1).trimmed();
block.text = text().mid(start, end - start + 1).remove(',').trimmed();
d->blocks.append(block);
viewport()->update();
}