diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2022-06-09 13:52:52 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2022-06-09 13:52:52 -0500 |
| commit | ab69b9c9b23ed0ca5610d5d29e1cbd18bb9d8d14 (patch) | |
| tree | 441cd3ab5387ae2b2cda743c7c8ca70f7bdd3db5 /main.qml | |
| parent | 837f332ac939816db3668f4b10607804137722d8 (diff) | |
| parent | 841f06152015b910bc0ccc09205a4a483fce3215 (diff) | |
| download | monzero-gui-ab69b9c9b23ed0ca5610d5d29e1cbd18bb9d8d14.tar.gz monzero-gui-ab69b9c9b23ed0ca5610d5d29e1cbd18bb9d8d14.tar.xz monzero-gui-ab69b9c9b23ed0ca5610d5d29e1cbd18bb9d8d14.zip | |
Merge pull request #3688
841f061 main: remove outdated code (selsta)
Diffstat (limited to 'main.qml')
| -rw-r--r-- | main.qml | 21 |
1 files changed, 0 insertions, 21 deletions
@@ -321,27 +321,6 @@ ApplicationWindow { function connectWallet(wallet) { currentWallet = wallet - // TODO: - // When the wallet variable is undefined, it yields a zero balance. - // This can scare users, restart the GUI (as a quick fix). - // - // To reproduce, follow these steps: - // 1) Open the GUI, load up a wallet that has a balance - // 2) Settings -> close wallet - // 3) Create a new wallet - // 4) Settings -> close wallet - // 5) Open the wallet from step 1 - - if(!wallet || wallet === undefined || wallet.path === undefined){ - informationPopup.title = qsTr("Error") + translationManager.emptyString; - informationPopup.text = qsTr("Couldn't open wallet: ") + 'please restart GUI.'; - informationPopup.icon = StandardIcon.Critical - informationPopup.open() - informationPopup.onCloseCallback = function() { - appWindow.close(); - } - } - walletName = usefulName(wallet.path) viewOnly = currentWallet.viewOnly; |
