mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-28 01:52:06 +08:00
Qt ui: fix minimum pass length
old-commit-hash: a0987cb0980a8b3b2501a329d5da80f960ea7b95
This commit is contained in:
@@ -78,7 +78,7 @@ void InputDialog::handleInput(QString s) {
|
||||
}
|
||||
|
||||
if (!QString::compare(s,"⏎")) {
|
||||
if (line->text().length() > minLength){
|
||||
if (line->text().length() >= minLength){
|
||||
done(QDialog::Accepted);
|
||||
emitText(line->text());
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user