App: Removed VariableExpression::setName(), and replace call by setPath(); it's use caused a crash (#2352).

This commit is contained in:
Eivind Kvedalen
2015-12-03 21:36:21 +01:00
committed by wmayer
parent 3ab0d788b1
commit 5fa6bc714e
2 changed files with 1 additions and 3 deletions

View File

@@ -579,7 +579,7 @@ public:
if (thisRow >= mRow || thisCol >= mCol) {
thisRow += mRowCount;
thisCol += mColCount;
varExpr->setName(columnName(thisCol) + rowName(thisRow));
varExpr->setPath(ObjectIdentifier(varExpr->getOwner(), columnName(thisCol) + rowName(thisRow)));
mChanged = true;
}
}