From da80d44196c75a9b65574f8d493939723d4d6fc2 Mon Sep 17 00:00:00 2001 From: gitlost Date: Fri, 24 Sep 2021 11:06:15 +0100 Subject: [PATCH] GUI: fix setting guard descent for UPC-A ([4009c8]) --- frontend_qt/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend_qt/mainwindow.cpp b/frontend_qt/mainwindow.cpp index f78f4d85..1337eb78 100644 --- a/frontend_qt/mainwindow.cpp +++ b/frontend_qt/mainwindow.cpp @@ -1155,7 +1155,7 @@ void MainWindow::upcean_guard_descent(QDoubleSpinBox *spnBox, QLabel *label) label->setEnabled(enabled); } if (enabled && spnBox) { - m_bc.bc.setGuardDescent(get_doublespinbox_val("spnUPCEANGuardDescent")); + m_bc.bc.setGuardDescent(spnBox->value()); } }