fix popups positioning

This commit is contained in:
Jaquee
2017-08-20 22:23:22 +02:00
parent e324e160da
commit 4b871306e4
4 changed files with 8 additions and 16 deletions

View File

@@ -79,14 +79,6 @@ ListView {
}
}
StandardDialog {
id: detailsPopup
cancelVisible: false
okVisible: true
width:850
}
delegate: Rectangle {
id: delegate
height: 144
@@ -111,10 +103,10 @@ ListView {
onClicked: {
var tx_key = currentWallet.getTxKey(hash)
var tx_note = currentWallet.getUserNote(hash)
detailsPopup.title = "Transaction details";
detailsPopup.content = buildTxDetailsString(hash,paymentId,tx_key,tx_note,destinations);
detailsPopup.open();
informationPopup.title = "Transaction details";
informationPopup.content = buildTxDetailsString(hash,paymentId,tx_key,tx_note,destinations);
informationPopup.onCloseCallback = null
informationPopup.open();
}
}