603
633
QString txt = sectionText(secNo);
635
//printf("SigEdit::addNumber secNo:%d num:%d voff:%d txt:%s\n", secNo, num, voff, txt.latin1());
605
637
if (txt.length() == sec[secNo].len) {
606
640
if (!outOfRange(secNo, num - voff)) {
608
644
sec[secNo].val = num - voff;
612
650
txt += QString::number(num);
613
651
int temp = txt.toInt() - voff;
614
652
if (outOfRange(secNo, temp))
654
//printf("SigEdit::addNumber not accepted secNo:%d txt:%s temp:%d\n", secNo, txt.latin1(), temp);
615
656
txt = sectionText(secNo);