Minor UI change
This commit is contained in:
10
wallet.qml
10
wallet.qml
@@ -221,6 +221,10 @@ ApplicationWindow {
|
||||
text: "Import App"
|
||||
}
|
||||
|
||||
Label {
|
||||
id: walletValueLabel
|
||||
}
|
||||
|
||||
Label {
|
||||
anchors.right: peerImage.left
|
||||
anchors.rightMargin: 5
|
||||
@@ -270,7 +274,7 @@ ApplicationWindow {
|
||||
text: "Add"
|
||||
onClicked: {
|
||||
ui.connectToPeer(addrField.text)
|
||||
addrPeerWin.visible = false
|
||||
addPeerWin.visible = false
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -291,6 +295,10 @@ ApplicationWindow {
|
||||
|
||||
}
|
||||
|
||||
function setWalletValue(value) {
|
||||
walletValueLabel.text = value
|
||||
}
|
||||
|
||||
function addTx(tx) {
|
||||
txModel.insert(0, {hash: tx.hash, address: tx.address, value: tx.value})
|
||||
}
|
||||
|
Reference in New Issue
Block a user