MCPcopy Create free account
hub / github.com/MiniZinc/MiniZincIDE / updateSolverLabel

Method updateSolverLabel

MiniZincIDE/preferencesdialog.cpp:944–951  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

942}
943
944void PreferencesDialog::updateSolverLabel()
945{
946 if (!_solversPopulated || _editingSolverIndex == -1) {
947 return;
948 }
949 auto name = ui->name->text().isEmpty() ? "Untitled Solver" : ui->name->text();
950 ui->solvers_combo->setItemText(_editingSolverIndex, name + " " + ui->version->text());
951}
952
953
954void PreferencesDialog::on_darkMode_checkBox_stateChanged(int checked)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected