mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
@@ -106,7 +106,11 @@ TransactionView::TransactionView(const PlatformStyle *platformStyle, QWidget *pa
|
|||||||
} else {
|
} else {
|
||||||
amountWidget->setFixedWidth(100);
|
amountWidget->setFixedWidth(100);
|
||||||
}
|
}
|
||||||
amountWidget->setValidator(new QDoubleValidator(0, 1e20, 8, this));
|
QDoubleValidator *amountValidator = new QDoubleValidator(0, 1e20, 8, this);
|
||||||
|
QLocale amountLocale(QLocale::C);
|
||||||
|
amountLocale.setNumberOptions(QLocale::RejectGroupSeparator);
|
||||||
|
amountValidator->setLocale(amountLocale);
|
||||||
|
amountWidget->setValidator(amountValidator);
|
||||||
hlayout->addWidget(amountWidget);
|
hlayout->addWidget(amountWidget);
|
||||||
|
|
||||||
// Delay before filtering transactions in ms
|
// Delay before filtering transactions in ms
|
||||||
|
|||||||
Reference in New Issue
Block a user