This commit is contained in:
yangjiaxuan 2024-02-29 11:16:03 +08:00
parent 9d497bf7d1
commit d87b8c8418
1 changed files with 1 additions and 1 deletions

View File

@ -816,7 +816,7 @@ void hg_settingdialog::createUI()
// iniRead(md5(opt->title), id, lineEdit); // iniRead(md5(opt->title), id, lineEdit);
bool readOnly = IS_CAP_READONLY(opt->cap); bool readOnly = IS_CAP_READONLY(opt->cap);
lineEdit->setReadOnly(readOnly); lineEdit->setEnabled(!readOnly);
lineEdit->setText(QString::fromStdString(cur_val)); lineEdit->setText(QString::fromStdString(cur_val));
connect(lineEdit, SIGNAL(textChanged(const QString&)), this, SLOT(slot_lineEditInput())); connect(lineEdit, SIGNAL(textChanged(const QString&)), this, SLOT(slot_lineEditInput()));