MCPcopy Create free account
hub / github.com/agraef/pure-lang / OnUpdateScriptOpen

Method OnUpdateScriptOpen

purepad/MainFrm.cpp:904–909  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

902}
903
904void CMainFrame::OnUpdateScriptOpen(CCmdUI* pCmdUI)
905{
906 CDocument* pDoc = GetQpadView()->GetDocument();
907 pCmdUI->Enable(m_strRunPathName != "" &&
908 m_strRunPathName != pDoc->GetPathName());
909}
910
911void CMainFrame::OnScriptPath()
912{

Callers

nothing calls this directly

Calls 1

GetDocumentMethod · 0.45

Tested by

no test coverage detected