Skip to content

Commit f653f9f

Browse files
committed
Correct signal in bitcoinamountfield.cpp
1 parent bddae80 commit f653f9f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/qt/bitcoinamountfield.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ BitcoinAmountField::BitcoinAmountField(QWidget* parent) : QWidget(parent), amoun
3737
setFocusProxy(amount);
3838

3939
// If one of the widgets changes, the combined content changes as well
40-
connect(amount, static_cast<void (QDoubleSpinBox::*)(const QString&)>(&QDoubleSpinBox::textChanged), this, &BitcoinAmountField::textChanged);
40+
connect(amount, static_cast<void (QDoubleSpinBox::*)(const QString&)>(&QDoubleSpinBox::valueChanged),
41+
this, &BitcoinAmountField::textChanged);
4142
connect(unit, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this, &BitcoinAmountField::unitChanged);
4243

4344

0 commit comments

Comments
 (0)