----------------------------------------------------------------------------
| 277 | } |
| 278 | //---------------------------------------------------------------------------- |
| 279 | void pqPythonManager::editMacro(const QString& fileName) |
| 280 | { |
| 281 | pqPythonScriptEditor* pyEditor = pqPythonScriptEditor::getUniqueInstance(); |
| 282 | |
| 283 | pyEditor->setPythonManager(this); |
| 284 | pyEditor->show(); |
| 285 | pyEditor->raise(); |
| 286 | pyEditor->activateWindow(); |
| 287 | pyEditor->open(fileName); |
| 288 | } |
no test coverage detected