Trim daemon address

This commit is contained in:
Jaquee 2017-03-03 12:40:50 +01:00
parent e826f7c1ec
commit 5d6e0f5851
No known key found for this signature in database
GPG key ID: 384E52B09F45DC39

View file

@ -250,7 +250,7 @@ Rectangle {
visible: true
onClicked: {
console.log("saving daemon adress settings")
var newDaemon = daemonAddr.text + ":" + daemonPort.text
var newDaemon = daemonAddr.text.trim() + ":" + daemonPort.text.trim()
if(persistentSettings.daemon_address != newDaemon) {
persistentSettings.daemon_address = newDaemon
//Reinit wallet