Gnats 5202: Unable to uncheck convergence Checking box in Run Parameter Source code analysis, Phil Weinstein, 4-18-2013. (Bug filed: 5-24-2012; RiverWare 6.2). ------------------------ QtRun/SimParamWidgets.ui ------------------------ <widget class="QCheckBox" name="_supplyConvCheckBox"> <property name="text"> <string>No Supply Slot Convergence Checking</string> </property> </widget> ----------------------- QtRun/QtSimParamDlg.cpp ----------------------- // ********************************************* // *** Checkbox Visibility and Value Setting *** // ********************************************* In private method: void QtSimParamDlg::updateIter (bool disabled) ... // the accounting max iteration and supply convergence are only // visible for accounting. RunType runType(_ri->getType()); if (runType == RT_ACCOUNTING || runType == RT_SIM_ACCOUNTING || runType == RT_RULE_ACCOUNTING) { ... _ui._supplyConvSeparator->show(); _ui._supplyConvCheckBox->show(); // TODO: get rid fo this _ui._supplyConvCheckBox, as it's now obsolete _ui._supplyConvCheckBox->setChecked(true); } // ******************************** // *** Checkbox Toggle Handling *** // ******************************** connect (_ui._supplyConvCheckBox, SIGNAL (toggled (bool)), SLOT (supplyConvHandler (bool))); // private slot, virtual void QtSimParamDlg::supplyConvHandler(bool on) { on; // (avoid compilation warning) // TODO: get rid of this supplyConvHandler, as the // functionality is now obsolete. #if 0 AccountMgrObj->setSupplyConvergenceType( on ? NOCONVERGE : PERCENTCHANGE, on ? 0.0 : DEFAULTCONVERGENCE); #endif } ---