mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-14 15:14:49 -04:00
Code 39 HIBC option picked up correctly
This commit is contained in:
parent
b1ca793638
commit
e7294ac5a6
1 changed files with 4 additions and 4 deletions
|
@ -179,7 +179,7 @@ bool MainWindow::save()
|
||||||
void MainWindow::about()
|
void MainWindow::about()
|
||||||
{
|
{
|
||||||
QMessageBox::about(this, tr("About Zint"),
|
QMessageBox::about(this, tr("About Zint"),
|
||||||
tr("<h2>Zint Barcode Studio 0.2</h2>"
|
tr("<h2>Zint Barcode Studio 0.3</h2>"
|
||||||
"<p>A simple barcode generator"
|
"<p>A simple barcode generator"
|
||||||
"<p>Requires libzint 2.1.3 or greater."
|
"<p>Requires libzint 2.1.3 or greater."
|
||||||
"<p>Visit the <a href=\"http://www.zint.org.uk\">Zint Project Homepage</a> for more information."
|
"<p>Visit the <a href=\"http://www.zint.org.uk\">Zint Project Homepage</a> for more information."
|
||||||
|
@ -637,13 +637,13 @@ void MainWindow::update_preview()
|
||||||
|
|
||||||
case BARCODE_CODE39:
|
case BARCODE_CODE39:
|
||||||
if(m_optionWidget->findChild<QRadioButton*>("radC39HIBC")->isChecked())
|
if(m_optionWidget->findChild<QRadioButton*>("radC39HIBC")->isChecked())
|
||||||
|
m_bc.bc.setSymbol(BARCODE_HIBC_39);
|
||||||
|
else
|
||||||
{
|
{
|
||||||
m_bc.bc.setSymbol(BARCODE_CODE39);
|
m_bc.bc.setSymbol(BARCODE_CODE39);
|
||||||
if(m_optionWidget->findChild<QRadioButton*>("radC39Check")->isChecked())
|
if(m_optionWidget->findChild<QRadioButton*>("radC39Check")->isChecked())
|
||||||
m_bc.bc.setWidth(1);
|
m_bc.bc.setWidth(1);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
m_bc.bc.setSymbol(BARCODE_HIBC_39);
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case BARCODE_EXCODE39:
|
case BARCODE_EXCODE39:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue