381 crypto.pwConvert(form.postData, encode=False).encode("utf-8") |
381 crypto.pwConvert(form.postData, encode=False).encode("utf-8") |
382 ) |
382 ) |
383 script = Scripts.completeFormData(postData) |
383 script = Scripts.completeFormData(postData) |
384 page.runJavaScript(script, WebBrowserPage.SafeJsWorld) |
384 page.runJavaScript(script, WebBrowserPage.SafeJsWorld) |
385 |
385 |
386 def masterPasswordChanged(self, oldPassword, newPassword): |
386 def mainPasswordChanged(self, oldPassword, newPassword): |
387 """ |
387 """ |
388 Public slot to handle the change of the master password. |
388 Public slot to handle the change of the main password. |
389 |
389 |
390 @param oldPassword current master password (string) |
390 @param oldPassword current main password (string) |
391 @param newPassword new master password (string) |
391 @param newPassword new main password (string) |
392 """ |
392 """ |
393 if not self.__loaded: |
393 if not self.__loaded: |
394 self.__load() |
394 self.__load() |
395 |
395 |
396 progress = EricProgressDialog( |
396 progress = EricProgressDialog( |