Merge pull request #17

a7609de Fix: Trailing spaces in transfer address and Payment id (#51) (Ilya Kitaev)
This commit is contained in:
Riccardo Spagni 2016-09-10 13:17:21 +02:00
commit 6e5f5e1ded
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -257,9 +257,11 @@ Rectangle {
var priority = priorityModel.get(priorityDropdown.currentIndex).priority
console.log("priority: " + priority)
console.log("amount: " + amountLine.text)
addressLine.text = addressLine.text.trim()
paymentIdLine.text = paymentIdLine.text.trim()
root.paymentClicked(addressLine.text, paymentIdLine.text, amountLine.text, scaleValueToMixinCount(privacyLevelItem.fillLevel),
priority)
}
}
}