diff options
author | Jonathan Klimt <jounathaen@mail.de> | 2016-10-11 21:47:08 +0200 |
---|---|---|
committer | Jonathan Klimt <jounathaen@mail.de> | 2016-10-11 21:47:08 +0200 |
commit | aa8b15d70e3a08a82f06ecbe9d1db80150fe7e00 (patch) | |
tree | 2354fabe045734a88c1e9358e7ef0fe48b8a61f8 /mainwindow.cpp | |
parent | dc5bf4876306b19785dbbb984ee9c4a36b571133 (diff) |
smaller Bugfixes for previous commit and comments added
Diffstat (limited to 'mainwindow.cpp')
-rw-r--r-- | mainwindow.cpp | 2 |
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); |