From 1e6d50e4dc275be306f2cd8d787060558fcca49b Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Mon, 7 Sep 2020 21:13:32 +1000 Subject: [PATCH] Qt: Fix advanced setting text being editable --- 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 a8fb78b0e..a6f38e98a 100644 --- a/src/duckstation-qt/advancedsettingswidget.cpp +++ b/src/duckstation-qt/advancedsettingswidget.cpp @@ -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);