Fix: Trailing spaces in transfer address and Payment id (#51)

This commit is contained in:
Ilya Kitaev 2016-09-05 23:06:05 +03:00
parent 85787c3e14
commit a7609dea7f

View File

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