mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-23 14:25:37 +00:00
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);
|
table->insertRow(row);
|
||||||
|
|
||||||
QTableWidgetItem* name_item = new QTableWidgetItem(name);
|
QTableWidgetItem* name_item = new QTableWidgetItem(name);
|
||||||
|
name_item->setFlags(name_item->flags() & ~(Qt::ItemIsEditable | Qt::ItemIsSelectable));
|
||||||
table->setItem(row, 0, name_item);
|
table->setItem(row, 0, name_item);
|
||||||
|
|
||||||
QSpinBox* cb = new QSpinBox(table);
|
QSpinBox* cb = new QSpinBox(table);
|
||||||
|
|
Loading…
Reference in a new issue