* @brief Validates the current code and reloads the FrameParser engine. */
| 368 | * @brief Validates the current code and reloads the FrameParser engine. |
| 369 | */ |
| 370 | void DataModel::JsCodeEditor::apply() |
| 371 | { |
| 372 | (void)DataModel::FrameParser::instance().loadScript(m_sourceId, text(), true); |
| 373 | } |
| 374 | |
| 375 | /** |
| 376 | * @brief Opens a file dialog to import an external script file. |
nothing calls this directly
no test coverage detected