Increased max width of amount field to prevent number overflow bug.
This commit is contained in:
1 parent
d792e47421
commit
5f3cbde9de
1 file changed
+1
-1
@@ -197,7 +197,7 @@ BitcoinAmountField::BitcoinAmountField(QWidget *parent) :
|
|||||||
amount = new AmountSpinBox(this);
|
amount = new AmountSpinBox(this);
|
||||||
amount->setLocale(QLocale::c());
|
amount->setLocale(QLocale::c());
|
||||||
amount->installEventFilter(this);
|
amount->installEventFilter(this);
|
||||||
amount->setMaximumWidth(170);
|
amount->setMaximumWidth(240);
|
||||||
|
|
||||||
QHBoxLayout *layout = new QHBoxLayout(this);
|
QHBoxLayout *layout = new QHBoxLayout(this);
|
||||||
layout->addWidget(amount);
|
layout->addWidget(amount);
|
||||||
|
|||||||
Reference in new issue
Block a user