mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-28 10:09:53 +01:00
[apps][escher] Add methods 'handleEventWithText' in TextField and
TextArea to fix bug in probability (adding a toolbox text from the calculations controller)
This commit is contained in:
committed by
EmilieNumworks
parent
7fcf77ce23
commit
576caa039f
@@ -112,8 +112,7 @@ bool SequenceToolbox::selectAddedCell(int selectedRow){
|
||||
currentChar += strlen(subscriptLayout->text());
|
||||
buffer[currentChar++] = ')';
|
||||
buffer[currentChar] = 0;
|
||||
sender()->insertTextAtLocation(buffer, sender()->cursorLocation());
|
||||
sender()->setCursorLocation(sender()->cursorLocation()+currentChar);
|
||||
sender()->handleEventWithText(buffer);
|
||||
app()->dismissModalViewController();
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user