summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnne Jan Brouwer <brouwer@annejan.com>2015-07-28 01:06:06 +0200
committerAnne Jan Brouwer <brouwer@annejan.com>2015-07-28 01:06:06 +0200
commit84d41897f9f17fee0ab0392c29d558ad0094643a (patch)
tree58bd2895b431810dcd9255629e1fa17e37986fe2
parentd8bc6e4fc0f5b2bd32d4d309ad14fb008e2e8812 (diff)
disable pwgen option when no pwgen executable found/set
-rw-r--r--dialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/dialog.cpp b/dialog.cpp
index 00a74994..1489001d 100644
--- a/dialog.cpp
+++ b/dialog.cpp
@@ -635,6 +635,7 @@ void Dialog::setPwgenPath(QString pwgen)
ui->pwgenPath->setText(pwgen);
if (pwgen.isEmpty()) {
ui->checkBoxUsePwgen->setChecked(false);
+ ui->checkBoxUsePwgen->setEnabled(false);
}
on_checkBoxUsePwgen_clicked();
}