mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-25 16:50:50 +01:00
[apps/sequence] Fix math_toolbox wrong functions calls.
Change-Id: I0b7871e87ea64ef9fbd008d9fb3e6d4cce2e97ca
This commit is contained in:
@@ -114,9 +114,8 @@ void SequenceToolbox::setExtraCells(const char * sequenceName, int recurrenceDep
|
||||
bool SequenceToolbox::selectAddedCell(int selectedRow){
|
||||
int bufferSize = 10;
|
||||
char buffer[bufferSize];
|
||||
int currentChar = m_addedCellLayout[selectedRow]->writeTextInBuffer(buffer, bufferSize);
|
||||
textFieldSender()->insertTextAtLocation(buffer, textFieldSender()->cursorLocation());
|
||||
textFieldSender()->setCursorLocation(textFieldSender()->cursorLocation()+currentChar);
|
||||
m_addedCellLayout[selectedRow]->writeTextInBuffer(buffer, bufferSize);
|
||||
m_action(sender(), buffer);
|
||||
app()->dismissModalViewController();
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user