mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-26 01:00:50 +01:00
[apps] Sequence: invalidate the context cache when the sequences are
redefined
This commit is contained in:
committed by
EmilieNumworks
parent
31ceb5ed40
commit
cb754ab6d5
@@ -1,5 +1,6 @@
|
||||
#include "list_parameter_controller.h"
|
||||
#include "list_controller.h"
|
||||
#include "../app.h"
|
||||
|
||||
using namespace Poincare;
|
||||
using namespace Shared;
|
||||
@@ -52,6 +53,7 @@ bool ListParameterController::handleEvent(Ion::Events::Event event) {
|
||||
#endif
|
||||
if (m_functionStore->numberOfFunctions() > 0) {
|
||||
m_functionStore->removeFunction(m_function);
|
||||
static_cast<App *>(app())->localContext()->resetCache();
|
||||
StackViewController * stack = (StackViewController *)(parentResponder());
|
||||
stack->pop();
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user