summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Grulich <jgrulich@redhat.com>2017-10-31 07:44:58 (GMT)
committerJan Grulich <jgrulich@redhat.com>2017-10-31 07:48:25 (GMT)
commitead62e9582092709472e1e76eb3940d742ea808b (patch)
treeb33a26fda28b5e5b87ed42b79b6338e5750a5aca
parent46eab7ff11a8698ceab3ef66b15fd4bf8a53cd69 (diff)
Make sure we store password for all users when kwallet is diabled
BUG: 386343 FIXED-IN: 5.11.3
-rw-r--r--libs/editor/widgets/passwordfield.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/editor/widgets/passwordfield.cpp b/libs/editor/widgets/passwordfield.cpp
index e5e5aa5..08ec298 100644
--- a/libs/editor/widgets/passwordfield.cpp
+++ b/libs/editor/widgets/passwordfield.cpp
@@ -62,6 +62,7 @@ PasswordField::PasswordField(QWidget *parent, Qt::WindowFlags f)
m_passwordOptionsMenu->setCurrentIndex(0);
} else {
m_passwordOptionsMenu->setCurrentIndex(1);
+ m_currentPasswordOption = StoreForAllUsers;
}
connect(m_passwordOptionsMenu, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this, &PasswordField::changePasswordOption);