Skip to content

Commit 6a946a6

Browse files
committed
Fix GUI show seed
1 parent 6cc3833 commit 6a946a6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

convex-gui/src/main/java/convex/gui/keys/WalletComponent.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public WalletComponent(AWalletEntry initialWalletEntry) {
131131

132132
private void showSeed(ActionEvent e) {
133133
if (walletEntry.isLocked()) {
134-
if (!UnlockWalletDialog.offerUnlock(this,walletEntry)) return;;
134+
if (!UnlockWalletDialog.offerUnlock(this,walletEntry)) return;
135135
}
136136

137137
AKeyPair kp=walletEntry.getKeyPair();
@@ -143,6 +143,7 @@ private void showSeed(ActionEvent e) {
143143
panel.add(Toolkit.withTitledBorder("Ed25519 Private Seed",new CodeLabel(kp.getSeed().toString())));
144144
panel.add(Toolkit.makeNote("WARNING: keep this private, it can be used to control your account(s)"),"grow");
145145
panel.setBorder(Toolkit.createDialogBorder());
146+
JOptionPane.showMessageDialog(WalletComponent.this, panel,"Ed25519 Private Seed",JOptionPane.INFORMATION_MESSAGE);
146147
} else {
147148
JOptionPane.showMessageDialog(WalletComponent.this, "Keypair is locked, cannot access seed","Warning",JOptionPane.WARNING_MESSAGE);
148149
}

0 commit comments

Comments
 (0)