diff options
author | Claudio Maradonna <penguyman@stronzi.org> | 2018-04-28 15:00:44 +0200 |
---|---|---|
committer | Claudio Maradonna <penguyman@stronzi.org> | 2018-04-28 15:00:44 +0200 |
commit | 627c1ea0a19cd177e195dc64c2ea636e2ea77fb2 (patch) | |
tree | 1b4ea4d1098b062ce73e01bf2d785566ae7e1986 /src/passworddialog.cpp | |
parent | 172189b7ae775a6c04a542107e6d08ee86bd15fb (diff) |
Some refactors. Some fixes with error with Pass process
Diffstat (limited to 'src/passworddialog.cpp')
-rw-r--r-- | src/passworddialog.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/passworddialog.cpp b/src/passworddialog.cpp index 7c052660..23768dae 100644 --- a/src/passworddialog.cpp +++ b/src/passworddialog.cpp @@ -51,6 +51,7 @@ PasswordDialog::PasswordDialog(const QString &file, const bool &isNew, setLength(m_passConfig.length); setPasswordCharTemplate(m_passConfig.selected); + connect(QtPassSettings::getPass(), &Pass::processErrorExit, this, &PasswordDialog::close); connect(this, &PasswordDialog::accepted, this, &PasswordDialog::on_accepted); connect(this, &PasswordDialog::rejected, this, &PasswordDialog::on_rejected); } |