Skip to content

Commit

Permalink
apps/radar/Qucid - working on field menu
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-dixon committed Feb 25, 2024
1 parent 640d2f9 commit f3f735d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions codebase/apps/radar/src/Qucid/CartManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1962,9 +1962,11 @@ void CartManager::_createFieldMenu()
for (int irow = 0; irow < nrows; irow++) {
int fieldNum = irow * ncols + icol;
if (fieldNum < _params.fields_n) {
_fieldTable->setItem(irow, icol, new QTableWidgetItem(_params._fields[fieldNum].button_label));
_fieldTable->setItem(irow, icol,
new QTableWidgetItem(_params._fields[fieldNum].button_label));
} else {
_fieldTable->setItem(irow, icol, new QTableWidgetItem("====="));
_fieldTable->setItem(irow, icol,
new QTableWidgetItem(""));
}
} // irow
} // icol
Expand Down

0 comments on commit f3f735d

Please sign in to comment.