Change up/down increment in UI to 0.001 BTC (issue #760)

This commit is contained in:
Wladimir J. van der Laan 2012-02-05 12:15:16 +01:00
parent 5d1b8f1725
commit f69b82e78a

View file

@ -22,6 +22,7 @@ BitcoinAmountField::BitcoinAmountField(QWidget *parent):
amount->setDecimals(8); amount->setDecimals(8);
amount->installEventFilter(this); amount->installEventFilter(this);
amount->setMaximumWidth(170); amount->setMaximumWidth(170);
amount->setSingleStep(0.001);
QHBoxLayout *layout = new QHBoxLayout(this); QHBoxLayout *layout = new QHBoxLayout(this);
layout->addWidget(amount); layout->addWidget(amount);