Skip to content

Commit

Permalink
jade: unset wallet in login controller
Browse files Browse the repository at this point in the history
  • Loading branch information
borgbyte committed Mar 17, 2022
1 parent d27f92a commit a000f55
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions qml/JadeView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ MainPage {
RowLayout {
Layout.fillWidth: false
Layout.minimumWidth: 200
spacing: constants.s1
Image {
source: icons[self.network.key]
sourceSize.width: 24
Expand Down
3 changes: 2 additions & 1 deletion src/jade/jadelogincontroller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ void JadeLoginController::setWallet(Wallet *wallet)
Q_ASSERT(!wallet);
m_wallet = nullptr;
emit walletChanged(nullptr);
} else {
}
if (wallet) {
Q_ASSERT(!m_wallet);
Q_ASSERT(!m_active);
m_wallet = wallet;
Expand Down

0 comments on commit a000f55

Please sign in to comment.