mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-20 09:17:23 +01:00
[apps] Switch to mode editing when clicking on toolbox or variable box
Change-Id: Iff6a00234ac95c6519fba8046149d2f645f8ca86
This commit is contained in:
@@ -57,6 +57,9 @@ bool VariableBoxController::ContentViewController::handleEvent(Ion::Events::Even
|
||||
char label[3];
|
||||
putLabelAtIndexInBuffer(selectedRow, label);
|
||||
const char * editedText = label;
|
||||
if (!m_textFieldCaller->isEditing()) {
|
||||
m_textFieldCaller->setEditing(true);
|
||||
}
|
||||
m_textFieldCaller->insertTextAtLocation(editedText, m_textFieldCaller->cursorLocation());
|
||||
m_textFieldCaller->setCursorLocation(m_textFieldCaller->cursorLocation() + strlen(editedText));
|
||||
m_currentPage = Page::RootMenu;
|
||||
|
||||
Reference in New Issue
Block a user