diff --git a/apps/graph/app.cpp b/apps/graph/app.cpp index dffce42f6..55ec6262c 100644 --- a/apps/graph/app.cpp +++ b/apps/graph/app.cpp @@ -86,4 +86,8 @@ Context * App::localContext() { return TextFieldDelegateApp::localContext(); } +const char * App::XNT() { + return "x"; +} + } diff --git a/apps/graph/app.h b/apps/graph/app.h index 2f8bd7cc7..5ac2f36ff 100644 --- a/apps/graph/app.h +++ b/apps/graph/app.h @@ -38,6 +38,7 @@ public: * use a temporary local context (on the stack). That way, we avoid keeping * weird x values after drawing curves or displaying the value table. */ Poincare::Context * localContext() override; + const char * XNT() override; private: App(Container * container, Snapshot * snapshot); Poincare::VariableContext m_xContext; diff --git a/apps/shared/text_field_delegate_app.cpp b/apps/shared/text_field_delegate_app.cpp index 5ef401fdc..53f902209 100644 --- a/apps/shared/text_field_delegate_app.cpp +++ b/apps/shared/text_field_delegate_app.cpp @@ -22,7 +22,7 @@ AppsContainer * TextFieldDelegateApp::container() { } const char * TextFieldDelegateApp::XNT() { - return "x"; + return "X"; } const char * TextFieldDelegateApp::privateXNT(TextField * textField) {