diff options
author | Claudio Maradonna <penguyman@stronzi.org> | 2018-05-03 21:12:11 +0200 |
---|---|---|
committer | Claudio Maradonna <penguyman@stronzi.org> | 2018-05-03 21:12:11 +0200 |
commit | 2bd0c0d79758625325dbb67bfd0cbf1b96ebdcae (patch) | |
tree | 31ed0f24b43c8f487633d902eda876775f1e4c6c | |
parent | 1fdc1efa5ea667cf59adca5db2d3ae1e833f2804 (diff) |
fix #380
-rw-r--r-- | src/passworddialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/passworddialog.cpp b/src/passworddialog.cpp index 059e8bd5..bf8001a5 100644 --- a/src/passworddialog.cpp +++ b/src/passworddialog.cpp @@ -37,7 +37,8 @@ PasswordDialog::PasswordDialog(const QString &file, const bool &isNew, : QDialog(parent), ui(new Ui::PasswordDialog), m_file(file), m_isNew(isNew) { - QtPassSettings::getPass()->Show(m_file); + if (!isNew) + QtPassSettings::getPass()->Show(m_file); ui->setupUi(this); |