mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-21 14:02:05 +08:00
Qt ui: fix minimum pass length
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