bugfix: Delete walletView in WalletFrame::removeWallet

This commit is contained in:
João Barbosa 2018-06-20 14:15:12 +01:00
parent 0b82bac76d
commit fe65bdec23

View file

@ -94,6 +94,7 @@ bool WalletFrame::removeWallet(const QString &name)
WalletView *walletView = mapWalletViews.take(name); WalletView *walletView = mapWalletViews.take(name);
walletStack->removeWidget(walletView); walletStack->removeWidget(walletView);
delete walletView;
return true; return true;
} }