[graph] StorageDerivativeParameterController &

StorageValuesFunctionParameterController titles cannot be computed
before being in the responder chain (they need to access
app()->functionStore())
This commit is contained in:
Émilie Feral
2018-10-23 15:37:08 +02:00
parent 4b44dd701d
commit a063b00fb7
4 changed files with 10 additions and 2 deletions

View File

@@ -17,8 +17,11 @@ StorageDerivativeParameterController::StorageDerivativeParameterController(Stora
{
}
const char * StorageDerivativeParameterController::title() {
void StorageDerivativeParameterController::viewWillAppear() {
functionStore()->modelForRecord(m_record)->derivativeNameWithArgument(m_pageTitle, k_maxNumberOfCharsInTitle, StorageCartesianFunctionStore::Symbol());
}
const char * StorageDerivativeParameterController::title() {
return m_pageTitle;
}