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

Method OnUpdateOsirisPaste

editor/ScriptEditorDlg.cpp:612–620  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

610}
611
612void CScriptEditorDlg::OnUpdateOsirisPaste(CCmdUI *pCmdUI) {
613 // TODO: Add your command update UI handler code here
614
615 // this doesn't work right...don't know why
616 if (IsClipboardFormatAvailable(CF_TEXT))
617 pCmdUI->Enable(true);
618 else
619 pCmdUI->Enable(false);
620}

Callers

nothing calls this directly

Calls 1

EnableMethod · 0.45

Tested by

no test coverage detected