Commit 9c845a2a authored by Erik Verbruggen's avatar Erik Verbruggen
Browse files

Fix to allow case where ID is removed from the text file.

parent 693781f2
......@@ -169,7 +169,7 @@ static bool idContainsWrongLetter(const QString& id)
bool ModelNode::isValidId(const QString &id)
return !(id.isEmpty() || idContainsWrongLetter(id));
return id.isEmpty() || !idContainsWrongLetter(id);
void ModelNode::setId(const QString& id)
......@@ -114,7 +114,7 @@ bool TextToModelMerger::load(const QByteArray &data, DifferenceHandler &differen
return false;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment