MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / OnCancel

Method OnCancel

editor/ScriptWizard.cpp:206–210  ·  view source on GitHub ↗

We just don't save anything. We free the script, if there is one

Source from the content-addressed store, hash-verified

204
205// We just don't save anything. We free the script, if there is one
206void CScriptWizard::OnCancel() {
207 FreeScript(m_ScriptSource);
208
209 CDialog::OnCancel();
210}
211
212// Adds a script to the current editable script. We will not allow this if the script is not locked,
213// so we should allow then to unlock it at this point.

Callers

nothing calls this directly

Calls 1

FreeScriptFunction · 0.85

Tested by

no test coverage detected