Qt: Fix some advanced options having editable titles

This commit is contained in:
Connor McLaughlin 2020-10-03 00:56:21 +10:00
parent caf100ec0d
commit 38244dfcca
1 changed files with 1 additions and 0 deletions

View File

@ -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);