mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[sequence] Fixed crash due to undefined sequence
Change-Id: Ie67ff4aa9a53eb8b04535e3b61737e11c9049316
This commit is contained in:
committed by
Émilie Feral
parent
b8544e3708
commit
51002066e9
@@ -67,4 +67,11 @@ Shared::SequenceContext * App::localContext() {
|
||||
return &m_sequenceContext;
|
||||
}
|
||||
|
||||
NestedMenuController * App::variableBoxForInputEventHandler(InputEventHandler * textInput) {
|
||||
MathVariableBoxController * varBox = AppsContainer::sharedAppsContainer()->variableBoxController();
|
||||
varBox->setSender(textInput);
|
||||
varBox->lockDeleteEvent(MathVariableBoxController::Page::Sequence);
|
||||
return varBox;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -47,6 +47,7 @@ public:
|
||||
// TODO: override variableBoxForInputEventHandler to lock sequence in the variable box once they appear there
|
||||
// NestedMenuController * variableBoxForInputEventHandler(InputEventHandler * textInput) override;
|
||||
CodePoint XNT() override { return 'n'; }
|
||||
NestedMenuController * variableBoxForInputEventHandler(InputEventHandler * textInput) override;
|
||||
Shared::SequenceContext * localContext() override;
|
||||
Shared::SequenceStore * functionStore() override { return static_cast<Shared::GlobalContext *>(AppsContainer::sharedAppsContainer()->globalContext())->sequenceStore(); }
|
||||
Shared::Interval * interval() { return snapshot()->interval(); }
|
||||
|
||||
Reference in New Issue
Block a user