diff --git a/src/libprs500/gui2/dialogs/metadata_single.py b/src/libprs500/gui2/dialogs/metadata_single.py index c7afcd00bc..9a97c37e2b 100644 --- a/src/libprs500/gui2/dialogs/metadata_single.py +++ b/src/libprs500/gui2/dialogs/metadata_single.py @@ -201,7 +201,7 @@ class MetadataSingleDialog(QDialog, Ui_MetadataSingleDialog): self.series_index.setValue(self.db.series_index(row)) QObject.connect(self.series, SIGNAL('currentIndexChanged(int)'), self.enable_series_index) QObject.connect(self.series, SIGNAL('editTextChanged(QString)'), self.enable_series_index) - + QObject.connect(self.password_button, SIGNAL('clicked()'), self.change_password) self.exec_() @@ -213,11 +213,18 @@ class MetadataSingleDialog(QDialog, Ui_MetadataSingleDialog): tag_string = ', '.join(d.tags) self.tags.setText(tag_string) + def lt_password_dialog(self): + return PasswordDialog(self, 'LibraryThing account', + _('
Enter your username and password for LibraryThing.com.
If you do not have one, you can register for free!.
Enter your username and password for LibraryThing.com.
If you do not have one, you can register for free!.