mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-10 03:42:05 +02:00
Merge pull request #2158
ceed212
wallet: fix deadlock, omit invoking 'refresh' from callback (xiphon)
This commit is contained in:
commit
80a992553d
2
main.qml
2
main.qml
@ -750,7 +750,6 @@ ApplicationWindow {
|
|||||||
|
|
||||||
function onWalletMoneyReceived(txId, amount) {
|
function onWalletMoneyReceived(txId, amount) {
|
||||||
// refresh transaction history here
|
// refresh transaction history here
|
||||||
currentWallet.refresh()
|
|
||||||
console.log("Confirmed money found")
|
console.log("Confirmed money found")
|
||||||
// history refresh is handled by walletUpdated
|
// history refresh is handled by walletUpdated
|
||||||
currentWallet.history.refresh(currentWallet.currentSubaddressAccount) // this will refresh model
|
currentWallet.history.refresh(currentWallet.currentSubaddressAccount) // this will refresh model
|
||||||
@ -772,7 +771,6 @@ ApplicationWindow {
|
|||||||
function onWalletMoneySent(txId, amount) {
|
function onWalletMoneySent(txId, amount) {
|
||||||
// refresh transaction history here
|
// refresh transaction history here
|
||||||
console.log("monero sent found")
|
console.log("monero sent found")
|
||||||
currentWallet.refresh()
|
|
||||||
currentWallet.history.refresh(currentWallet.currentSubaddressAccount); // this will refresh model
|
currentWallet.history.refresh(currentWallet.currentSubaddressAccount); // this will refresh model
|
||||||
|
|
||||||
if(middlePanel.state == "History")
|
if(middlePanel.state == "History")
|
||||||
|
Loading…
Reference in New Issue
Block a user