mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-29 03:29:58 +02:00
[apps] Switch to mode editing when clicking on toolbox or variable box
Change-Id: Iff6a00234ac95c6519fba8046149d2f645f8ca86
This commit is contained in:
@@ -58,6 +58,9 @@ bool ToolboxController::selectLeaf(Node * selectedNode){
|
||||
m_listViewController.deselectTable();
|
||||
ToolboxNode * node = (ToolboxNode *)selectedNode;
|
||||
const char * editedText = node->label();
|
||||
if (!m_textFieldCaller->isEditing()) {
|
||||
m_textFieldCaller->setEditing(true);
|
||||
}
|
||||
m_textFieldCaller->insertTextAtLocation(editedText, m_textFieldCaller->cursorLocation());
|
||||
int cursorDelta = 0;
|
||||
int editedTextLength = strlen(editedText);
|
||||
|
||||
Reference in New Issue
Block a user