[apps/shared] ExpressionModelHandle: specify the symbol that is turned

into Unknown X in Derived classes
This commit is contained in:
Émilie Feral
2019-02-22 14:10:59 +01:00
parent 0f37ee25f7
commit 64978202b4
13 changed files with 18 additions and 16 deletions

View File

@@ -48,9 +48,9 @@ void StorageValuesController::willDisplayCellAtLocation(HighlightCell * cell, in
* after the isDerivativeColumn call, else it will expire. */
Shared::ExpiringPointer<StorageCartesianFunction> function = functionStore()->modelForRecord(recordAtColumn(i));
if (isDerivative) {
function->derivativeNameWithArgument(bufferName, bufferNameSize, StorageCartesianFunctionStore::Symbol());
function->derivativeNameWithArgument(bufferName, bufferNameSize, StorageCartesianFunction::Symbol());
} else {
function->nameWithArgument(bufferName, bufferNameSize, StorageCartesianFunctionStore::Symbol());
function->nameWithArgument(bufferName, bufferNameSize, StorageCartesianFunction::Symbol());
}
myFunctionCell->setText(bufferName);
myFunctionCell->setColor(function->color());