The for loop already handles i being < nPanels Raised by cppcheck
Attach a file by drag & drop or click to upload