From 38244dfcca14615c3ec8a82129164ea9f9974661 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sat, 3 Oct 2020 00:56:21 +1000 Subject: [PATCH] Qt: Fix some advanced options having editable titles --- src/duckstation-qt/advancedsettingswidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/duckstation-qt/advancedsettingswidget.cpp b/src/duckstation-qt/advancedsettingswidget.cpp index a6f38e98a..6ce620fe1 100644 --- a/src/duckstation-qt/advancedsettingswidget.cpp +++ b/src/duckstation-qt/advancedsettingswidget.cpp @@ -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);