mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 23:55:40 +00:00
Qt: Fix advanced setting text being editable
This commit is contained in:
parent
9bb278b166
commit
1e6d50e4dc
|
@ -13,6 +13,7 @@ static void addBooleanTweakOption(QtHostInterface* host_interface, QTableWidget*
|
|||
table->insertRow(row);
|
||||
|
||||
QTableWidgetItem* name_item = new QTableWidgetItem(name);
|
||||
name_item->setFlags(name_item->flags() & ~(Qt::ItemIsEditable | Qt::ItemIsSelectable));
|
||||
table->setItem(row, 0, name_item);
|
||||
|
||||
QCheckBox* cb = new QCheckBox(table);
|
||||
|
|
Loading…
Reference in a new issue