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
1 changed files with 3 additions and 1 deletions

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() {