summaryrefslogtreecommitdiffstats
path: root/mainwindow.cpp
diff options
context:
space:
mode:
authorJonathan Klimt <jounathaen@mail.de>2016-10-11 21:47:08 +0200
committerJonathan Klimt <jounathaen@mail.de>2016-10-11 21:47:08 +0200
commitaa8b15d70e3a08a82f06ecbe9d1db80150fe7e00 (patch)
tree2354fabe045734a88c1e9358e7ef0fe48b8a61f8 /mainwindow.cpp
parentdc5bf4876306b19785dbbb984ee9c4a36b571133 (diff)
smaller Bugfixes for previous commit and comments added
Diffstat (limited to 'mainwindow.cpp')
-rw-r--r--mainwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp
index b0345a6c..9e2a28ba 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -456,6 +456,8 @@ void MainWindow::config() {
d->useSymbols(useSymbols);
d->setPasswordLength(pwdConfig.length);
d->setPwdTemplateSelector(pwdConfig.selected);
+ if (pwdConfig.selected!=3)
+ d->setLineEditEnabled(false);
d->setPasswordChars(pwdConfig.Characters[pwdConfig.selected]);
d->useTemplate(useTemplate);
d->setTemplate(passTemplate);