Bugfix: Code16k selects GS1 mode by default in GUI

This commit is contained in:
Robin Stuart 2020-08-09 08:21:21 +01:00
parent 43ab13f7e5
commit 88d6f955ab

View File

@ -1095,7 +1095,7 @@ void MainWindow::update_preview()
case BARCODE_CODE16K: case BARCODE_CODE16K:
m_bc.bc.setSymbol(BARCODE_CODE16K); m_bc.bc.setSymbol(BARCODE_CODE16K);
set_gs1_mode(m_optionWidget->findChild<QRadioButton*>("radC16kStand")->isChecked()); set_gs1_mode(m_optionWidget->findChild<QRadioButton*>("radC16kGS1")->isChecked());
// Row separator height selection uses option 3 in zint_symbol // Row separator height selection uses option 3 in zint_symbol
item_val = m_optionWidget->findChild<QComboBox*>("cmbC16kRowSepHeight")->currentIndex(); item_val = m_optionWidget->findChild<QComboBox*>("cmbC16kRowSepHeight")->currentIndex();
if (item_val) { if (item_val) {