feat: Add max input in create account.

This commit is contained in:
sunwen
2025-07-07 16:37:25 +08:00
parent 8756813d6a
commit 93f6801e86

View File

@@ -59,7 +59,8 @@ AccountFormDialog::AccountFormDialog(const QString& aTitle, QWidget* parent, Acc
mUserNameChanged = true; mUserNameChanged = true;
}); });
mLeUserCode->setMaxLength(30); mLeUserCode->setMaxLength(30);
mLeUserName->setMaxLength(30);
mLeComment->setMaxLength(50);
} }
void AccountFormDialog::addEndLine(QVBoxLayout* layout) void AccountFormDialog::addEndLine(QVBoxLayout* layout)