Bug fix in layer thickness scans.

This commit is contained in:
salman 2013-05-17 11:05:36 +00:00
parent b7565ad635
commit 618de16f4c
3 changed files with 8 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# Form implementation generated from reading ui file 'TrimSPGUI.ui' # Form implementation generated from reading ui file 'TrimSPGUI.ui'
# #
# Created: Thu May 16 11:49:01 2013 # Created: Fri May 17 13:00:15 2013
# by: The PerlQt User Interface Compiler (puic) # by: The PerlQt User Interface Compiler (puic)
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!
@ -2534,7 +2534,7 @@ sub StartSequenceOne
my $iScan=0; my $iScan=0;
foreach (@SValues) { foreach (@SValues) {
if ($All{"dRadio"}) { if ($All{"dRadio"}) {
$ScanAttrib->setText($All{"ScandL"},2,$_); layerTable->setText($All{"ScandL"},2,$_);
} else { } else {
$ScanAttrib->setText($_); $ScanAttrib->setText($_);
} }

View File

@ -531,7 +531,7 @@ void TrimSPGUI::StartSequenceOne()
my $iScan=0; my $iScan=0;
foreach (@SValues) { foreach (@SValues) {
if ($All{"dRadio"}) { if ($All{"dRadio"}) {
$ScanAttrib->setText($All{"ScandL"},2,$_); layerTable->setText($All{"ScandL"},2,$_);
} else { } else {
$ScanAttrib->setText($_); $ScanAttrib->setText($_);
} }

View File

@ -591,7 +591,11 @@ sub StartSequenceOne()
my $ScanAttrib = child("Qt::LineEdit",$ScanVar); my $ScanAttrib = child("Qt::LineEdit",$ScanVar);
my $iScan=0; my $iScan=0;
foreach (@SValues) { foreach (@SValues) {
$ScanAttrib->setText($_); if ($All{"comboScan"}==5) {
layerTable->setText($All{"ScandL"},2,$_);
} else {
$ScanAttrib->setText($_);
}
if ( $All{"SdzFlag"} == 1) { if ( $All{"SdzFlag"} == 1) {
if ($All{"comboScan"}==0) { if ($All{"comboScan"}==0) {
this->{ui}->dz->setText($SdzValues[$iScan]); this->{ui}->dz->setText($SdzValues[$iScan]);