Skip to content

Commit

Permalink
permit to enter a base address with 4 digits
Browse files Browse the repository at this point in the history
  • Loading branch information
jpcima committed Dec 30, 2018
1 parent e187e81 commit 6610332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hardware.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ void HardwareDialog::setupUi()

QLineEdit *ctlAddressEdit = m_ctlAddressEdit = new QLineEdit;
ctlBox->addWidget(ctlAddressEdit);
ctlAddressEdit->setInputMask("hhh");
ctlAddressEdit->setInputMask("hhhh");

QDialogButtonBox *bbox = new QDialogButtonBox(QDialogButtonBox::Ok);
vl->addWidget(bbox);
Expand Down

0 comments on commit 6610332

Please sign in to comment.