MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / setAllowAnyRev

Method setAllowAnyRev

gui/qt/settings.cpp:1034–1043  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1032}
1033
1034void MainWindow::setAllowAnyRev(bool state) {
1035 ui->checkAllowAnyRev->setChecked(state);
1036 m_config->setValue(SETTING_DEBUGGER_ALLOW_ANY_REV, state);
1037 emu.setAllowAnyRev(state);
1038 setAsicValidRevisions();
1039 ui->checkPythonEdition->setEnabled(state);
1040 if (!state) {
1041 ui->checkPythonEdition->setCheckState(Qt::PartiallyChecked);
1042 }
1043}
1044
1045void MainWindow::setPythonEdition(int state) {
1046 Qt::CheckState forcePython = static_cast<Qt::CheckState>(state);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected