GUI: fix setting guard descent for UPC-A ([4009c8])

This commit is contained in:
gitlost 2021-09-24 11:06:15 +01:00
parent 4009c86c5f
commit da80d44196

View File

@ -1155,7 +1155,7 @@ void MainWindow::upcean_guard_descent(QDoubleSpinBox *spnBox, QLabel *label)
label->setEnabled(enabled); label->setEnabled(enabled);
} }
if (enabled && spnBox) { if (enabled && spnBox) {
m_bc.bc.setGuardDescent(get_doublespinbox_val("spnUPCEANGuardDescent")); m_bc.bc.setGuardDescent(spnBox->value());
} }
} }