From 62e4689b89e74b7f317ea651d04ce32b66bc4a69 Mon Sep 17 00:00:00 2001 From: Zaher Salman Date: Mon, 27 May 2013 14:00:00 +0000 Subject: [PATCH] Fix scan bug. --- trimsp/src/TrimSPGUI/TrimSPGUI.pl | 6 +++--- trimsp/src/TrimSPGUI/TrimSPGUI.ui.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/trimsp/src/TrimSPGUI/TrimSPGUI.pl b/trimsp/src/TrimSPGUI/TrimSPGUI.pl index c1ba532..8266d65 100644 --- a/trimsp/src/TrimSPGUI/TrimSPGUI.pl +++ b/trimsp/src/TrimSPGUI/TrimSPGUI.pl @@ -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)") ); diff --git a/trimsp/src/TrimSPGUI/TrimSPGUI.ui.h b/trimsp/src/TrimSPGUI/TrimSPGUI.ui.h index 5bc777f..32556da 100644 --- a/trimsp/src/TrimSPGUI/TrimSPGUI.ui.h +++ b/trimsp/src/TrimSPGUI/TrimSPGUI.ui.h @@ -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)") );