MCPcopy Create free account
hub / github.com/chrxh/alien / checkNumZones

Method checkNumZones

source/Gui/SimulationParametersMainWindow.cpp:766–773  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

764}
765
766bool SimulationParametersMainWindow::checkNumZones(SimulationParameters const& parameters)
767{
768 if (parameters.numZones == MAX_ZONES) {
769 showMessage("Error", "The maximum number of zones has been reached.");
770 return false;
771 }
772 return true;
773}
774
775bool SimulationParametersMainWindow::checkNumSources(SimulationParameters const& parameters)
776{

Callers

nothing calls this directly

Calls 1

showMessageFunction · 0.85

Tested by

no test coverage detected