Qt: Fix some advanced options having editable titles
This commit is contained in:
parent
caf100ec0d
commit
38244dfcca
|
@ -39,6 +39,7 @@ static void addIntRangeTweakOption(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);
|
||||
|
||||
QSpinBox* cb = new QSpinBox(table);
|
||||
|
|
Loading…
Reference in New Issue