spin poxes can get negative values for binary plotting

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@238 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
cartier_s
2013-09-24 13:29:06 +00:00
parent e3df740901
commit 5e4e52936b
2 changed files with 10 additions and 7 deletions

View File

@ -992,6 +992,9 @@ void qTabPlot::SetBinary(){
lblTo->setEnabled(true);
spinFrom->setEnabled(true);
spinTo->setEnabled(true);
spinFrom->setRange(-10000,+10000);
spinTo->setRange(-10000,+10000);
myPlot->SetBinary(true,spinFrom->value(),spinTo->value());
}else{
#ifdef VERBOSE