| 140 | { |
| 141 | if (macro) macro->script_interpreter.setLocalValue(name.toStdString(), text.toStdString()); |
| 142 | else QiScriptInterpreter::setGlobalValue(name.toStdString(), text.toStdString()); |
| 143 | } |
| 144 | |
| 145 | TableUpdate(table, *varMap); |
| 146 | }); |
| 147 | } |
| 148 | updating = false; |
| 149 | } |
| 150 | |
| 151 | bool VarViewUi::event(QEvent* e) |
| 152 | { |
| 153 | if ((e->type() == QEvent::KeyPress) || (e->type() == QEvent::KeyRelease)) |