mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 12:09:57 +00:00
wallet: fix deadlock, omit invoking 'refresh' from callback
Co-authored-by: Dusan Klinec <dusan.klinec@gmail.com>
This commit is contained in:
parent
1f2f08190a
commit
ceed212e63
1 changed files with 0 additions and 2 deletions
2
main.qml
2
main.qml
|
@ -722,7 +722,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
|
||||||
|
@ -744,7 +743,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 a new issue