Fix scan bug.
This commit is contained in:
parent
0fd325b0d6
commit
62e4689b89
@ -1,6 +1,6 @@
|
||||
# Form implementation generated from reading ui file 'TrimSPGUI.ui'
|
||||
#
|
||||
# Created: Fri May 17 15:23:54 2013
|
||||
# Created: Mon May 27 15:57:45 2013
|
||||
# by: The PerlQt User Interface Compiler (puic)
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
@ -2055,7 +2055,7 @@ sub ToggleScanSingle
|
||||
# NProj->setText("10000");
|
||||
for (my $i=1;$i<=$All{"NL"};$i++) {
|
||||
my $LayerAttrib = layerTable->item($i-1,2);
|
||||
$LayerAttrib->setEnabled(1);
|
||||
# $LayerAttrib->setEnabled(1);
|
||||
}
|
||||
|
||||
# Enable depth increment for Energy scan only
|
||||
@ -2100,7 +2100,7 @@ sub ToggleScanSingle
|
||||
NProj->setDisabled(1);
|
||||
} elsif($All{"dRadio"}) {
|
||||
my $LayerAttrib = layerTable->item($All{"ScandL"}-1,2);
|
||||
$LayerAttrib->setEnabled(0);
|
||||
# $LayerAttrib->setEnabled(0);
|
||||
}
|
||||
# and change title of tab to say enabled
|
||||
tabs->changeTab( ScansTab, trUtf8("Scans (Enabled)") );
|
||||
|
@ -59,7 +59,7 @@ void TrimSPGUI::ToggleScanSingle()
|
||||
# NProj->setText("10000");
|
||||
for (my $i=1;$i<=$All{"NL"};$i++) {
|
||||
my $LayerAttrib = layerTable->item($i-1,2);
|
||||
$LayerAttrib->setEnabled(1);
|
||||
# $LayerAttrib->setEnabled(1);
|
||||
}
|
||||
|
||||
# Enable depth increment for Energy scan only
|
||||
@ -104,7 +104,7 @@ void TrimSPGUI::ToggleScanSingle()
|
||||
NProj->setDisabled(1);
|
||||
} elsif($All{"dRadio"}) {
|
||||
my $LayerAttrib = layerTable->item($All{"ScandL"}-1,2);
|
||||
$LayerAttrib->setEnabled(0);
|
||||
# $LayerAttrib->setEnabled(0);
|
||||
}
|
||||
# and change title of tab to say enabled
|
||||
tabs->changeTab( ScansTab, trUtf8("Scans (Enabled)") );
|
||||
|
Loading…
x
Reference in New Issue
Block a user