Browse Source

Merge JoinMarket-Org/joinmarket-clientserver#1665: Qt: Fix no amount entered message (can be sats too, not only BTC)

cde6b4ca9a Fix no amount entered message (can be sats too, not only BTC) (Kristaps Kaupe)

Pull request description:

  Message was wrong since dropdown to switch between BTC and sat amounts was added.

Top commit has no ACKs.

Tree-SHA512: e4f5c85e7fb6f657fe49b8ff1748bc23cbb9bd29dc947991798d907459500423f7348945784798c54ce0e9010a45a5e3e5488b7cdf8b97dd43ec7a45e6bf3fb3
master
Kristaps Kaupe 2 years ago
parent
commit
f83c4208a4
No known key found for this signature in database
GPG Key ID: 33E472FE870C7E5D
  1. 2
      scripts/joinmarket-qt.py

2
scripts/joinmarket-qt.py

@ -1205,7 +1205,7 @@ class SpendTab(QWidget):
if len(self.amountInput.text()) == 0: if len(self.amountInput.text()) == 0:
JMQtMessageBox( JMQtMessageBox(
self, self,
"Amount, in bitcoins, must be provided.", "Amount must be provided.",
mbtype='warn', title="Error") mbtype='warn', title="Error")
return False return False
if len(self.changeInput.text().strip()) != 0: if len(self.changeInput.text().strip()) != 0:

Loading…
Cancel
Save