Fix #2122 on next branch
This commit is contained in:
@@ -377,6 +377,8 @@ SetupPanel::SetupPanel(QWidget *parent, ModelData & model, GeneralSettings & gen
|
|||||||
|
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
|
||||||
|
QRegExp rx(CHAR_FOR_NAMES_REGEX);
|
||||||
|
ui->name->setValidator(new QRegExpValidator(rx, this));
|
||||||
ui->name->setMaxLength(IS_TARANIS(board) ? 12 : 10);
|
ui->name->setMaxLength(IS_TARANIS(board) ? 12 : 10);
|
||||||
|
|
||||||
if (firmware->getCapability(ModelImage)) {
|
if (firmware->getCapability(ModelImage)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user