[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

@@ -5,9 +5,12 @@
namespace Shared {
const char * StorageValuesFunctionParameterController::title() {
return m_pageTitle;
}
void StorageValuesFunctionParameterController::viewWillAppear() {
StorageFunctionApp * myApp = static_cast<StorageFunctionApp *>(app());
myApp->functionStore()->modelForRecord(m_record)->nameWithArgument(m_pageTitle, StorageFunction::k_maxNameWithArgumentSize, m_symbol);
return m_pageTitle;
}
void StorageValuesFunctionParameterController::didBecomeFirstResponder() {