We save whatever was added to the script. This does not include text added via edit (that's done in the internal script editor.) It does include text added from operations like Add Script, Add Event, etc.
| 196 | // (that's done in the internal script editor.) It does include text added from operations like |
| 197 | // Add Script, Add Event, etc. |
| 198 | void CScriptWizard::OnOK() { |
| 199 | SaveScript(ScriptFileName, m_ScriptSource); |
| 200 | FreeScript(m_ScriptSource); |
| 201 | |
| 202 | CDialog::OnOK(); |
| 203 | } |
| 204 | |
| 205 | // We just don't save anything. We free the script, if there is one |
| 206 | void CScriptWizard::OnCancel() { |
nothing calls this directly
no test coverage detected