Ask for correct login information (for example "Account ID" in boobank) instead of always asking for "Password".

This commit is contained in:
Clément Schreiner 2012-03-25 11:22:36 +02:00
commit 76795b27a2
2 changed files with 8 additions and 3 deletions

View file

@ -98,8 +98,9 @@ class QCallbacksManager(QObject):
def __call__(self):
password, ok = QInputDialog.getText(None,
'Password request',
'Please enter password for %s' % self.backend_name,
'%s request' % self.value.label,
'Please enter %s for %s' % (self.value.label,
self.backend_name),
QLineEdit.Password)
return password