We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8eccdc commit 55fdce2Copy full SHA for 55fdce2
qml/bitcoinamount.cpp
@@ -40,8 +40,8 @@ qint64 BitcoinAmount::satoshi() const
40
41
void BitcoinAmount::setSatoshi(qint64 new_amount)
42
{
43
- m_isSet = true;
44
- if (m_satoshi != new_amount) {
+ if (m_satoshi != new_amount || m_isSet != true) {
+ m_isSet = true;
45
m_satoshi = new_amount;
46
Q_EMIT amountChanged();
47
}
0 commit comments