MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / validate

Method validate

launcher/ui/dialogs/InstallLoaderDialog.cpp:153–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153void InstallLoaderDialog::validate(BasePage* page)
154{
155 buttons->button(QDialogButtonBox::Ok)->setEnabled(pageCast(page)->selectedVersion() != nullptr);
156}
157
158void InstallLoaderDialog::done(int result)
159{

Callers

nothing calls this directly

Calls 3

setEnabledMethod · 0.80
pageCastFunction · 0.70
selectedVersionMethod · 0.45

Tested by

no test coverage detected