mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-26 16:20:03 +02:00
zmin zmax change finish
This commit is contained in:
parent
b1a9689caf
commit
5c5e9d349a
@ -407,13 +407,7 @@ double SlsQtNumberEntry::GetNumber(int which_number_field,bool* ok){
|
||||
|
||||
if(num_field[i]){
|
||||
if(validator_int[i]) return num_field[i]->text().toInt(ok);
|
||||
else {
|
||||
bool k;
|
||||
cout<<"val:"<<num_field[i]->text().toDouble(&k)<<endl;
|
||||
cout<<"ok:"<<k<<endl;
|
||||
|
||||
return num_field[i]->text().toDouble(ok);
|
||||
}
|
||||
else return num_field[i]->text().toDouble(ok);
|
||||
}
|
||||
else if(spin_box[i]) return spin_box[i]->value();
|
||||
else {if(ok) *ok=0;}
|
||||
|
Loading…
x
Reference in New Issue
Block a user