| 22 | |
| 23 | protected Q_SLOTS: |
| 24 | void onTriggered() override |
| 25 | { |
| 26 | pqPythonScriptEditor* pyEditor = pqPythonScriptEditor::getUniqueInstance(); |
| 27 | pqPythonManager* pythonManager = pqPVApplicationCore::instance()->pythonManager(); |
| 28 | |
| 29 | pyEditor->setPythonManager(pythonManager); |
| 30 | pyEditor->show(); |
| 31 | pyEditor->raise(); |
| 32 | pyEditor->activateWindow(); |
| 33 | } |
| 34 | |
| 35 | private: |
| 36 | Q_DISABLE_COPY(pqPythonScriptEditorReaction) |
nothing calls this directly
no test coverage detected