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

Method on_config_comboBox_currentIndexChanged

MiniZincIDE/configwindow.cpp:367–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

365}
366
367void ConfigWindow::on_config_comboBox_currentIndexChanged(int index)
368{
369 if (!initialized) {
370 return;
371 }
372
373 if (lastIndex >= 0) {
374 updateSolverConfig(configs[lastIndex]);
375 }
376
377 lastIndex = index;
378
379 updateGUI();
380
381 if (index >= 0 && index < configs.length()) {
382 emit selectedIndexChanged(index);
383 emit selectedSolverConfigurationChanged(configs[index]);
384 }
385}
386
387void ConfigWindow::updateGUI(bool overrideSync)
388{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected