diff --git a/platform-independent/java/gui/src/main/java/com/lyndir/masterpassword/gui/view/UserContentPanel.java b/platform-independent/java/gui/src/main/java/com/lyndir/masterpassword/gui/view/UserContentPanel.java index 5895d32a..f17d49ca 100644 --- a/platform-independent/java/gui/src/main/java/com/lyndir/masterpassword/gui/view/UserContentPanel.java +++ b/platform-independent/java/gui/src/main/java/com/lyndir/masterpassword/gui/view/UserContentPanel.java @@ -950,11 +950,11 @@ public class UserContentPanel extends JPanel implements MasterPassword.Listener, resultField.setText( EACH_CHARACTER.matcher( result ).replaceAll( "•" ) ); else resultField.setText( result ); - settingsButton.setEnabled( result != null ); - questionsButton.setEnabled( result != null ); - editButton.setEnabled( result != null ); - keyButton.setEnabled( result != null ); - deleteButton.setEnabled( result != null ); + settingsButton.setEnabled( site != null ); + questionsButton.setEnabled( site != null ); + editButton.setEnabled( site != null ); + keyButton.setEnabled( site != null ); + deleteButton.setEnabled( site != null ); } ); }