This commit is contained in:
codeboss 2025-08-05 21:12:48 +08:00
parent 9bea762349
commit 22e0dffd1d
1 changed files with 3 additions and 1 deletions

View File

@ -85,7 +85,9 @@ void TranslateUI::present_solution_customs(std::shared_ptr<TranslateBasic> ins,
auto ruleset = ins->customRules();
for (auto rule_name : ruleset.keys()) {
model->appendRow(new QStandardItem(rule_name));
auto cell = new QStandardItem(rule_name);
cell->setEditable(false);
model->appendRow(cell);
}
}