1
mirror of https://github.com/monero-project/monero-gui synced 2024-12-19 04:45:53 +01:00

main: omit onWalletRefresh call with uninitialized currentWallet

This commit is contained in:
xiphon 2019-11-27 09:14:35 +00:00
parent 6c2c17ada1
commit f75aa22b26

View File

@ -2035,7 +2035,9 @@ ApplicationWindow {
// some fields need an extra nudge when changing languages
function resetLanguageFields(){
clearMoneroCardLabelText()
onWalletRefresh()
if (currentWallet) {
onWalletRefresh();
}
}
function userActivity() {