mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2025-03-29 11:11:48 +01:00
fix accidentally making keystore fields editable on loading of single account non-watchonly wallets
This commit is contained in:
parent
6063b02113
commit
49e70e8e9b
@ -199,7 +199,9 @@ public class KeystoreController extends WalletFormController implements Initiali
|
||||
scanXpubQR.setVisible(!valid);
|
||||
});
|
||||
|
||||
setInputFieldsDisabled(keystore.getSource() != KeystoreSource.SW_WATCH && (!walletForm.getWallet().isMasterWallet() || !walletForm.getWallet().getChildWallets().isEmpty()));
|
||||
if(keystore.getSource() != KeystoreSource.SW_WATCH && (!walletForm.getWallet().isMasterWallet() || !walletForm.getWallet().getChildWallets().isEmpty())) {
|
||||
setInputFieldsDisabled(true);
|
||||
}
|
||||
}
|
||||
|
||||
private void setXpubContext(ExtendedKey extendedKey) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user