-----------------------------------------------------------------------------
| 133 | |
| 134 | //----------------------------------------------------------------------------- |
| 135 | void pqPythonScriptEditor::setPythonManager(pqPythonManager* manager) |
| 136 | { |
| 137 | this->PythonManager = manager; |
| 138 | this->Actions[pqPythonEditorActions::GeneralActionType::SaveFileAsMacro].setEnabled( |
| 139 | manager != nullptr); |
| 140 | } |
| 141 | |
| 142 | //----------------------------------------------------------------------------- |
| 143 | void pqPythonScriptEditor::createMenus() |
no test coverage detected