MCPcopy Create free account
hub / github.com/ElyPrismLauncher/Launcher / validate

Method validate

launcher/ui/dialogs/InstallLoaderDialog.cpp:155–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

setEnabledMethod · 0.80
pageCastFunction · 0.70
selectedVersionMethod · 0.45

Tested by

no test coverage detected