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

Method OnMatDeleteButton

editor/matcenkeypad.cpp:1043–1049  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1041}
1042
1043void matcenkeypad::OnMatDeleteButton() {
1044 if (MatcenValid(m_matcen_id)) {
1045 DestroyMatcen(m_matcen_id, true);
1046 }
1047
1048 UpdateDialog();
1049}
1050
1051void matcenkeypad::OnMatCopyButton() {
1052 if (MatcenValid(m_matcen_id)) {

Callers

nothing calls this directly

Calls 2

MatcenValidFunction · 0.85
DestroyMatcenFunction · 0.85

Tested by

no test coverage detected