| 43 | } |
| 44 | |
| 45 | void UserScriptEditor::setScriptInfo(const QString &name, const QString &code, const QString &filePath, int rowIndex) |
| 46 | { |
| 47 | setWindowTitle(QString("Editing %1").arg(name)); |
| 48 | ui->scriptEditor->setPlainText(code); |
| 49 | |
| 50 | ui->widgetFindText->clearLabels(); |
| 51 | |
| 52 | m_filePath = filePath; |
| 53 | m_scriptModified = false; |
| 54 | m_rowIndex = rowIndex; |
| 55 | } |
| 56 | |
| 57 | void UserScriptEditor::toggleFindTextWidget() |
| 58 | { |
no test coverage detected