Java Client: fix unsaved sites not copying password to clipboard
This commit is contained in:
parent
e29f16a0a7
commit
8be984f57e
@ -856,12 +856,12 @@ public class UserContentPanel extends JPanel implements MasterPassword.Listener,
|
||||
|
||||
private void useSite(final ActionEvent event) {
|
||||
MPSite<?> site = getSite();
|
||||
if (site instanceof MPNewSite) {
|
||||
if (JOptionPane.YES_OPTION != JOptionPane.showConfirmDialog(
|
||||
this, strf( "<html>Remember the site <strong>%s</strong>?</html>", site.getSiteName() ),
|
||||
"New Site", JOptionPane.YES_NO_OPTION ))
|
||||
return;
|
||||
|
||||
if (site instanceof MPNewSite &&
|
||||
JOptionPane.YES_OPTION == JOptionPane.showConfirmDialog(
|
||||
this,
|
||||
strf("<html>Remember the site <strong>%s</strong>?</html>", site.getSiteName()),
|
||||
"New Site",
|
||||
JOptionPane.YES_NO_OPTION)) {
|
||||
site = ((MPNewSite) site).addTo( user );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user